[Mlir-commits] [mlir] [mlir][arith][tensor] Disable index type for bitcast (PR #121455)
Matthias Springer
llvmlistbot at llvm.org
Tue Jan 7 00:16:07 PST 2025
================
@@ -908,6 +908,11 @@ def BoolLike : TypeOrContainer<I1, "bool-like">;
def BoolLikeOfAnyRank : TypeOrContainerOfAnyRank<I1, "bool-like">;
+// Type constraint for signless-integer-like types: signless integers,
+// vectors of signless integers or tensors of signless integers.
+def SignlessInteger : TypeOrValueSemanticsContainer<
----------------
matthias-springer wrote:
This is a bit confusing because there is also `SignlessIntegerLike` below.
I would change it as follows:
- Rename `SignlessIntegerLike` to `SignlessIntegerOrIndexLike`.
- Rename `SignlessIntegerLikeOfAnyRank` to `SignlessIntegerOrIndexLikeOfAnyRank`
- Call this new definition `SignlessIntegerLike` instead of `SignlessInteger`.
https://github.com/llvm/llvm-project/pull/121455
More information about the Mlir-commits
mailing list