[clang] [llvm] [HLSL][DXIL][SPIRV] QuadReadAcrossX intrinsic support (PR #184360)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 12 07:23:13 PDT 2026
================
@@ -4069,6 +4069,20 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
TheCall->setType(ArgTyExpr);
break;
}
+ case Builtin::BI__builtin_hlsl_quad_read_across_x: {
+ if (SemaRef.checkArgCount(TheCall, 1))
+ return true;
+
+ // Ensure input expr type is a scalar/vector and the same as the return type
----------------
kcloudy0717 wrote:
Removed.
https://github.com/llvm/llvm-project/pull/184360
More information about the cfe-commits
mailing list