================
@@ -5709,13 +5709,13 @@ def HLSLFrac : LangBuiltin<"HLSL_LANG"> {
def HLSLIsinf : LangBuiltin<"HLSL_LANG"> {
let Spellings = ["__builtin_hlsl_elementwise_isinf"];
- let Attributes = [NoThrow, Const];
+ let Attributes = [NoThrow, Const, CustomTypeChecking];
----------------
kmpeng wrote:
+1. Also I'm guessing this change is why you had to delete tests from
`isinf-errors.hlsl` and `isnan-errors.hlsl`, which I don't think you should be
touching in a matrix PR.
https://github.com/llvm/llvm-project/pull/195586
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits