[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:43 PDT 2024
================
@@ -1512,6 +1512,66 @@ void SetElementTypeAsReturnType(Sema *S, CallExpr *TheCall,
TheCall->setType(ReturnType);
}
+bool CheckBoolSelect(Sema *S, CallExpr *TheCall) {
----------------
damyanp wrote:
nit: it'd be good for these helpers that are only used from this cpp file to be marked as static. (I see that the ones above are not marked as static...I'd be tempted to fix them as well in another PR).
https://github.com/llvm/llvm-project/pull/107129
More information about the cfe-commits
mailing list