<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/test/Transforms/LoopRotate/coroutine.ll, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[LoopRotate][coroutines] Avoid hoisting addresses of thread-local variables outside loops in coroutines (#81937)</title>
<updated>2024-02-20T19:14:09+00:00</updated>
<author>
<name>Alan Zhao</name>
<email>alanzhao1@users.noreply.github.com</email>
</author>
<published>2024-02-20T19:14:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a9b5753220ef1f24b1b5bb44b5ca485a66c66349'/>
<id>a9b5753220ef1f24b1b5bb44b5ca485a66c66349</id>
<content type='text'>
Because loops in coroutines may have a co_await statement that
reschedules the coroutine to another thread, we cannot cache addresses
of thread-local variables obtained inside a loop by moving the
computation of thoes addresses outside a loop.

Since LLVM doesn't have a model for coroutine memory accesses, this
patch fixes this bug by disabling this optimization for coroutines in
the same way as https://reviews.llvm.org/D135550 and
https://reviews.llvm.org/D151774.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because loops in coroutines may have a co_await statement that
reschedules the coroutine to another thread, we cannot cache addresses
of thread-local variables obtained inside a loop by moving the
computation of thoes addresses outside a loop.

Since LLVM doesn't have a model for coroutine memory accesses, this
patch fixes this bug by disabling this optimization for coroutines in
the same way as https://reviews.llvm.org/D135550 and
https://reviews.llvm.org/D151774.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC] Precommit a coroutine test for LoopRotate (#82031)</title>
<updated>2024-02-19T22:47:32+00:00</updated>
<author>
<name>Alan Zhao</name>
<email>alanzhao1@users.noreply.github.com</email>
</author>
<published>2024-02-19T22:47:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=61a96e5afadd034e7d13126f0e43731bbad7ad89'/>
<id>61a96e5afadd034e7d13126f0e43731bbad7ad89</id>
<content type='text'>
This is to provide a baseline test for
https://github.com/llvm/llvm-project/pull/81937.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to provide a baseline test for
https://github.com/llvm/llvm-project/pull/81937.</pre>
</div>
</content>
</entry>
</feed>
