[clang] [HLSL] Implement support for HLSL intrinsic - select (PR #107129)

Cooper Partin via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 3 14:13:12 PDT 2024


================
@@ -1545,6 +1605,30 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
     break;
   }
   case Builtin::BI__builtin_hlsl_elementwise_saturate:
----------------
coopp wrote:

Did you mean for 'Builtin::BI__builtin_hlsl_elementwise_saturate' to fall through into 'Builtin::BI__builtin_hlsl_select' logic in this switch( ) statement?

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


More information about the cfe-commits mailing list