[clang] [HLSL] Add "or" intrinsic (PR #128979)

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 27 12:00:10 PST 2025


================
@@ -2305,6 +2305,24 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
     TheCall->setType(ArgTyA);
     break;
   }
+  case Builtin::BI__builtin_hlsl_or: {
+    if (SemaRef.checkArgCount(TheCall, 2))
----------------
metkarpoonam wrote:

Code updated with suggested changes.

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


More information about the cfe-commits mailing list