[clang] [clang][SPIR-V] Always add convervence intrinsics (PR #88918)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 17 03:00:14 PDT 2024
Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/88918 at github.com>
================
@@ -4824,6 +4824,9 @@ llvm::CallInst *CodeGenFunction::EmitRuntimeCall(llvm::FunctionCallee callee,
llvm::CallInst *call = Builder.CreateCall(
callee, args, getBundlesForFunclet(callee.getCallee()), name);
call->setCallingConv(getRuntimeCC());
+
+ if (getTarget().getTriple().isSPIRVLogical() && call->isConvergent())
----------------
arsenm wrote:
Shouldn't have this target check
https://github.com/llvm/llvm-project/pull/88918
More information about the cfe-commits
mailing list