================
@@ -4463,7 +4371,8 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned
BuiltinID, CallExpr *TheCall) {
if (CheckAllArgTypesAreCorrect(&SemaRef, TheCall,
CheckFloatOrHalfRepresentation))
return true;
- if (SemaRef.PrepareBuiltinElementwiseMathOneArgCall(TheCall))
+ if (SemaRef.PrepareBuiltinElementwiseMathOneArgCall(
+ TheCall, Sema::EltwiseBuiltinArgTyRestriction::FloatTy))
----------------
danbrown-amd wrote:
Reverted -- was left over from the abandoned diagnostic message change.
https://github.com/llvm/llvm-project/pull/195586
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits