<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp, branch main</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>[clang][test] Write temporary files to %t</title>
<updated>2024-07-30T08:26:31+00:00</updated>
<author>
<name>Dmitri Gribenko</name>
<email>gribozavr@gmail.com</email>
</author>
<published>2024-07-30T08:24:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=533a22941e9acee1460fbd054fbfa57b82d660e5'/>
<id>533a22941e9acee1460fbd054fbfa57b82d660e5</id>
<content type='text'>
The issue was introduced in
https://github.com/llvm/llvm-project/commit/3a9ef4e69a3fec3203bd3e1caa53edf4b76843cf.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The issue was introduced in
https://github.com/llvm/llvm-project/commit/3a9ef4e69a3fec3203bd3e1caa53edf4b76843cf.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Pipelines] Do not run CoroSplit and CoroCleanup in LTO pre-link pipeline (#100205)</title>
<updated>2024-07-30T00:42:01+00:00</updated>
<author>
<name>Wei Wang</name>
<email>apollo.mobility@gmail.com</email>
</author>
<published>2024-07-30T00:42:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3a9ef4e69a3fec3203bd3e1caa53edf4b76843cf'/>
<id>3a9ef4e69a3fec3203bd3e1caa53edf4b76843cf</id>
<content type='text'>
This is re-land of #90310 after making asan skip pre-split coroutines in
#99415.

Skip CoroSplit and CoroCleanup in LTO pre-link pipeline so that
CoroElide can happen after callee coroutine is imported into caller's
module in ThinLTO.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is re-land of #90310 after making asan skip pre-split coroutines in
#99415.

Skip CoroSplit and CoroCleanup in LTO pre-link pipeline so that
CoroElide can happen after callee coroutine is imported into caller's
module in ThinLTO.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[Pipelines] Do not run CoroSplit and CoroCleanup in LTO pre-link pipeline (#90310)" and related patches</title>
<updated>2024-05-10T21:28:13+00:00</updated>
<author>
<name>Reid Kleckner</name>
<email>rnk@google.com</email>
</author>
<published>2024-05-10T21:20:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=aa0776de464984e78ae1cc329bf541e9dd43631f'/>
<id>aa0776de464984e78ae1cc329bf541e9dd43631f</id>
<content type='text'>
This change is incorrect when thinlto and asan are enabled, and this can
be observed by adding `-fsanitize=address` to the provided
coro-elide-thinlto.cpp test. It results in the error "Coroutines cannot
handle non static allocas yet", and ASan introduces a dynamic alloca.

In other words, we must preserve the invariant that CoroSplit runs
before ASan. If we move CoroSplit to the post post-link compile stage,
ASan has to be moved to the post-link compile stage first.  It would
also be correct to make CoroSplit handle dynamic allocas so the pass
ordering doesn't matter, but sanitizer instrumentation really ought to
be last, after coroutine splitting.

This reverts commit bafc5f42c0132171287d7cba7f5c14459be1f7b7.
This reverts commit b1b1bfa7bea0ce489b5ea9134e17a43c695df5ec.
This reverts commit 0232b77e145577ab78e3ed1fdbb7eacc5a7381ab.
This reverts commit fb2d3056618e3d03ba9a695627c7b002458e59f0.
This reverts commit 1cb33713910501c6352d0eb2a15b7a15e6e18695.
This reverts commit cd68d7b3c0ebf6da5e235cfabd5e6381737eb7fe.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change is incorrect when thinlto and asan are enabled, and this can
be observed by adding `-fsanitize=address` to the provided
coro-elide-thinlto.cpp test. It results in the error "Coroutines cannot
handle non static allocas yet", and ASan introduces a dynamic alloca.

In other words, we must preserve the invariant that CoroSplit runs
before ASan. If we move CoroSplit to the post post-link compile stage,
ASan has to be moved to the post-link compile stage first.  It would
also be correct to make CoroSplit handle dynamic allocas so the pass
ordering doesn't matter, but sanitizer instrumentation really ought to
be last, after coroutine splitting.

This reverts commit bafc5f42c0132171287d7cba7f5c14459be1f7b7.
This reverts commit b1b1bfa7bea0ce489b5ea9134e17a43c695df5ec.
This reverts commit 0232b77e145577ab78e3ed1fdbb7eacc5a7381ab.
This reverts commit fb2d3056618e3d03ba9a695627c7b002458e59f0.
This reverts commit 1cb33713910501c6352d0eb2a15b7a15e6e18695.
This reverts commit cd68d7b3c0ebf6da5e235cfabd5e6381737eb7fe.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Coroutines][Test] Only run coro-elide-thinlto under x86_64-linux (#90672)</title>
<updated>2024-05-01T01:08:40+00:00</updated>
<author>
<name>Wei Wang</name>
<email>apollo.mobility@gmail.com</email>
</author>
<published>2024-05-01T01:08:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b1b1bfa7bea0ce489b5ea9134e17a43c695df5ec'/>
<id>b1b1bfa7bea0ce489b5ea9134e17a43c695df5ec</id>
<content type='text'>
Previous fix #90549 didn't completely address the Buildbot failures.
Some target may not recognize the target triple. This time, only run the
test under x86_64-linux.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previous fix #90549 didn't completely address the Buildbot failures.
Some target may not recognize the target triple. This time, only run the
test under x86_64-linux.</pre>
</div>
</content>
</entry>
<entry>
<title>[Coroutines][Test] Specify target triple in coro-elide-thinlto  (#90549)</title>
<updated>2024-04-30T21:31:31+00:00</updated>
<author>
<name>Wei Wang</name>
<email>apollo.mobility@gmail.com</email>
</author>
<published>2024-04-30T21:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0232b77e145577ab78e3ed1fdbb7eacc5a7381ab'/>
<id>0232b77e145577ab78e3ed1fdbb7eacc5a7381ab</id>
<content type='text'>
Resolve test failure on non-x86 linux host</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolve test failure on non-x86 linux host</pre>
</div>
</content>
</entry>
<entry>
<title>Fix output in coro-elide-thinlto.cpp (#90579)</title>
<updated>2024-04-30T09:42:13+00:00</updated>
<author>
<name>Danial Klimkin</name>
<email>dklimkin@google.com</email>
</author>
<published>2024-04-30T09:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fb2d3056618e3d03ba9a695627c7b002458e59f0'/>
<id>fb2d3056618e3d03ba9a695627c7b002458e59f0</id>
<content type='text'>
Current dir can be read-only. Use a temp path instead.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current dir can be read-only. Use a temp path instead.</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure test writes objects to test temp dir</title>
<updated>2024-04-29T23:50:18+00:00</updated>
<author>
<name>David Blaikie</name>
<email>dblaikie@gmail.com</email>
</author>
<published>2024-04-29T23:50:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1cb33713910501c6352d0eb2a15b7a15e6e18695'/>
<id>1cb33713910501c6352d0eb2a15b7a15e6e18695</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Pipelines] Do not run CoroSplit and CoroCleanup in LTO pre-link pipeline (#90310)</title>
<updated>2024-04-29T17:24:53+00:00</updated>
<author>
<name>Wei Wang</name>
<email>apollo.mobility@gmail.com</email>
</author>
<published>2024-04-29T17:24:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cd68d7b3c0ebf6da5e235cfabd5e6381737eb7fe'/>
<id>cd68d7b3c0ebf6da5e235cfabd5e6381737eb7fe</id>
<content type='text'>
Skip CoroSplit and CoroCleanup in LTO pre-link pipeline so that
CoroElide can happen after callee coroutine is imported into caller's
module in ThinLTO.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Skip CoroSplit and CoroCleanup in LTO pre-link pipeline so that
CoroElide can happen after callee coroutine is imported into caller's
module in ThinLTO.</pre>
</div>
</content>
</entry>
</feed>
