<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/CodeGen/LinkInModulesPass.h, branch users/nico/python-1</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][CodeGen] Cleanup missed ShouldLinkFiles definitions (#97115)</title>
<updated>2024-06-28T22:22:42+00:00</updated>
<author>
<name>Jacob Lambert</name>
<email>jacob.lambert@amd.com</email>
</author>
<published>2024-06-28T22:22:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=982c54719289c1d85d03be3ad9e95bbfd2862aee'/>
<id>982c54719289c1d85d03be3ad9e95bbfd2862aee</id>
<content type='text'>
Follow up to
https://github.com/llvm/llvm-project/commit/2264544e2d13957f36fd19864d9633a3278a9d74</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow up to
https://github.com/llvm/llvm-project/commit/2264544e2d13957f36fd19864d9633a3278a9d74</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][CodeGen] Remove unnecessary ShouldLinkFiles conditional (#96951)</title>
<updated>2024-06-28T21:35:29+00:00</updated>
<author>
<name>Jacob Lambert</name>
<email>jacob.lambert@amd.com</email>
</author>
<published>2024-06-28T21:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2264544e2d13957f36fd19864d9633a3278a9d74'/>
<id>2264544e2d13957f36fd19864d9633a3278a9d74</id>
<content type='text'>
We have reworked the bitcode linking option to no longer link twice if
post-optimization linking is requested. As such, we no longer need to
conditionally link bitcodes supplied via -mlink-bitcode-file, as there
is no danger of linking them twice</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have reworked the bitcode linking option to no longer link twice if
post-optimization linking is requested. As such, we no longer need to
conditionally link bitcodes supplied via -mlink-bitcode-file, as there
is no danger of linking them twice</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen] Implement post-opt linking option for builtin bitocdes (#69371)</title>
<updated>2023-11-08T18:53:49+00:00</updated>
<author>
<name>Jacob Lambert</name>
<email>jacob.lambert@amd.com</email>
</author>
<published>2023-11-08T18:53:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c6cf32950283f729dfe9a9b2626443d05e2cb1b1'/>
<id>c6cf32950283f729dfe9a9b2626443d05e2cb1b1</id>
<content type='text'>
In this patch, we create a new ModulePass that mimics the LinkInModules
API from CodeGenAction.cpp, and a new command line option to enable the
pass. As part of the implementation, we needed to refactor the
BackendConsumer class definition into a new separate header (instead of
embedded in CodeGenAction.cpp). With this new pass, we can now re-link
bitcodes supplied via the -mlink-built-in bitcodes as part of the
RunOptimizationPipeline.

With the re-linking pass, we now handle cases where new device library
functions are introduced as part of the optimization pipeline.
Previously, these newly introduced functions (for example a fused sincos
call) would result in a linking error due to a missing function
definition. This new pass can be initiated via:

      -mllvm -relink-builtin-bitcode-postop

Also note we intentionally exclude bitcodes supplied via the
-mlink-bitcode-file option from the second linking step</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In this patch, we create a new ModulePass that mimics the LinkInModules
API from CodeGenAction.cpp, and a new command line option to enable the
pass. As part of the implementation, we needed to refactor the
BackendConsumer class definition into a new separate header (instead of
embedded in CodeGenAction.cpp). With this new pass, we can now re-link
bitcodes supplied via the -mlink-built-in bitcodes as part of the
RunOptimizationPipeline.

With the re-linking pass, we now handle cases where new device library
functions are introduced as part of the optimization pipeline.
Previously, these newly introduced functions (for example a fused sincos
call) would result in a linking error due to a missing function
definition. This new pass can be initiated via:

      -mllvm -relink-builtin-bitcode-postop

Also note we intentionally exclude bitcodes supplied via the
-mlink-bitcode-file option from the second linking step</pre>
</div>
</content>
</entry>
</feed>
