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

Sameer Sahasrabuddhe via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 20:03:16 PDT 2024


Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/92531 at github.com>


================
@@ -150,6 +150,16 @@ class SPIRVEmitIntrinsics
     ModulePass::getAnalysisUsage(AU);
   }
 };
+
+bool isConvergenceIntrinsic(const Instruction *I) {
----------------
ssahasra wrote:

This wasn't necessary, because now we can simply do `isa<ConvergenceControlInst>(I)`

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


More information about the llvm-commits mailing list