<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/unittests/CodeGen/CGPluginTest/Plugin/CodeGenTestPass.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>Reland "[CodeGen] Expose the extensibility of PassConfig to plugins (#139059)"</title>
<updated>2025-07-10T13:26:48+00:00</updated>
<author>
<name>Tcc100</name>
<email>Tcc100@users.noreply.github.com</email>
</author>
<published>2025-07-10T13:06:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7daa1defd2426629f0642c5428a5c8de777d0d6b'/>
<id>7daa1defd2426629f0642c5428a5c8de777d0d6b</id>
<content type='text'>
Add missing dependencies to unittest target
Original patch broke BUILD_SHARED bots and required revert #147947
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add missing dependencies to unittest target
Original patch broke BUILD_SHARED bots and required revert #147947
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[CodeGen] Expose the extensibility of PassConfig to plugins" (#147947)</title>
<updated>2025-07-10T12:00:55+00:00</updated>
<author>
<name>Jan Patrick Lehr</name>
<email>JanPatrick.Lehr@amd.com</email>
</author>
<published>2025-07-10T12:00:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0481d2a1614d011db022abb896eace626acd37ab'/>
<id>0481d2a1614d011db022abb896eace626acd37ab</id>
<content type='text'>
Reverts llvm/llvm-project#139059

This broke
https://lab.llvm.org/buildbot/#/builders/10/builds/9125/steps/8/logs/stdio

The bot does a SHARED_LIBS=ON build. I can reproduce locally with the
CMake cache file in offload/cmake/caches/AMDGPUBot.cmake as the build
config.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#139059

This broke
https://lab.llvm.org/buildbot/#/builders/10/builds/9125/steps/8/logs/stdio

The bot does a SHARED_LIBS=ON build. I can reproduce locally with the
CMake cache file in offload/cmake/caches/AMDGPUBot.cmake as the build
config.</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen] Expose the extensibility of PassConfig to plugins (#139059)</title>
<updated>2025-07-10T10:43:09+00:00</updated>
<author>
<name>Tcc100</name>
<email>Tcc100@users.noreply.github.com</email>
</author>
<published>2025-07-10T10:43:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=56a8655f4a9c3992fd401dcf12b956f24f0e2606'/>
<id>56a8655f4a9c3992fd401dcf12b956f24f0e2606</id>
<content type='text'>
This PR exposes the backend pass config to plugins via a callback.
Plugin authors can register a callback that is being triggered before
the target backend adds their passes to the pipeline. In the callback
they then get access to the `TargetMachine`, the `PassManager`, and the
`TargetPassConfig`. This allows plugins to call
`TargetPassConfig::insertPass`, which is honored in the subsequent
`addPass` of the main backend. We implemented this using the legacy pass
manager since backends still use it as the default.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR exposes the backend pass config to plugins via a callback.
Plugin authors can register a callback that is being triggered before
the target backend adds their passes to the pipeline. In the callback
they then get access to the `TargetMachine`, the `PassManager`, and the
`TargetPassConfig`. This allows plugins to call
`TargetPassConfig::insertPass`, which is honored in the subsequent
`addPass` of the main backend. We implemented this using the legacy pass
manager since backends still use it as the default.</pre>
</div>
</content>
</entry>
</feed>
