================
@@ -1325,6 +1421,18 @@ Value *CodeGenFunction::EmitHLSLBuiltinExpr(unsigned
BuiltinID,
llvm::Value *Args[] = {SpecId, DefaultVal};
return Builder.CreateCall(SpecConstantFn, Args);
}
+ case Builtin::BI__builtin_hlsl_interlocked_or: {
+ return handleInterlockedOr(*this, E, false, true);
+ }
+ case Builtin::BI__builtin_hlsl_interlocked_or64: {
+ return handleInterlockedOr(*this, E, false, false);
----------------
Alexander-Johnston wrote:
They are now combined into 1 intrinsic for no return and 1 for return
https://github.com/llvm/llvm-project/pull/180804
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits