[llvm] [SPIR-V] Strip convergence intrinsics before ISel (PR #75948)
Nathan Gauër via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 4 08:09:10 PST 2024
================
@@ -380,8 +432,11 @@ SPIRVPrepareFunctions::removeAggregateTypesFromSignature(Function *F) {
bool SPIRVPrepareFunctions::runOnModule(Module &M) {
bool Changed = false;
- for (Function &F : M)
+ for (Function &F : M) {
Changed |= substituteIntrinsicCalls(&F);
+ Changed |= stripConvergenceOperands(&F);
+ Changed |= stripConvergenceIntrinsics(&F);
----------------
Keenuts wrote:
Sure, done!
https://github.com/llvm/llvm-project/pull/75948
More information about the llvm-commits
mailing list