[llvm] [NFC][SPIRV] Move `SPIRVStripConvergenceIntrinsics` to Utils (PR #188537)

Nathan Gauër via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 02:57:49 PDT 2026


================
@@ -0,0 +1,58 @@
+; RUN: opt -passes=strip-convergence-intrinsics -S < %s | FileCheck %s
+
+; Verify that convergence intrinsics and convergencectrl operand bundles are
+; stripped by the pass.
+
+define void @entry_and_call() convergent {
----------------
Keenuts wrote:

You should add the test Deric mentioned: a block following a block it dominates in the CFG with intrinsincs to cleanup. 

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


More information about the llvm-commits mailing list