[llvm] [SPIR-V] Add pass to merge convergence region exit targets (PR #92531)

Nathan Gauër via llvm-commits llvm-commits at lists.llvm.org
Mon May 27 08:47:57 PDT 2024


================
@@ -164,6 +164,7 @@ void SPIRVPassConfig::addIRPasses() {
     //  - all loop exits are dominated by the loop pre-header.
     //  - loops have a single back-edge.
     addPass(createLoopSimplifyPass());
+    addPass(createSPIRVMergeRegionExitTargetsPass());
----------------
Keenuts wrote:

done thanks!

https://github.com/llvm/llvm-project/pull/92531


More information about the llvm-commits mailing list