[clang] [HLSL] Add matrix support for `sign` (PR #235542)
David Browne via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 1 14:48:31 PST 2026
================
@@ -3813,11 +3796,11 @@ static bool CheckNoDoubleVectors(Sema *S, SourceLocation Loc, int ArgOrdinal,
return false;
}
-static bool CheckFloatingOrIntRepresentation(Sema *S, SourceLocation Loc,
- int ArgOrdinal,
- clang::QualType PassedType) {
- if (!PassedType->hasIntegerRepresentation() &&
- !PassedType->hasFloatingRepresentation())
+static bool CheckFloatingOrNonBoolIntRepresentation(
----------------
djb wrote:
That's a much better name, thanks. Updated.
https://github.com/llvm/llvm-project/pull/235542
More information about the cfe-commits
mailing list