[clang] [HLSL] Implement support for HLSL intrinsic - select (PR #107129)
Damyan Pepper via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 3 15:49:42 PDT 2024
================
@@ -1544,6 +1604,30 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
return true;
break;
}
+ case Builtin::BI__builtin_hlsl_select: {
----------------
damyanp wrote:
This implementation has quite a different shape to the other builtins in this function. I'm trying to figure out if there's something special about `select` that makes this necessary, or if this validation can be expressed using the existing CheckXXX functions in here.
https://github.com/llvm/llvm-project/pull/107129
More information about the cfe-commits
mailing list