[Mlir-commits] [mlir] [mlir][ArmSME] Switch to an attribute-based tile allocation scheme (PR #73253)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Tue Nov 28 12:44:04 PST 2023
================
@@ -34,13 +35,12 @@ bool isValidSMETileElementType(Type type);
/// otherwise.
bool isValidSMETileVectorType(VectorType vType);
-/// Extends or truncates `tile`, which should be an `arm_sme::GetTileID` or
-/// `arm_sme::CastVectorToTile` op returning an 8/16/32/64/128-bit scalar
-/// integer, to an i32 that can be passed as the `tile` parameter to the SME
-/// intrinsics. Or returns `tile` if already i32.
-Value castTileIDToI32(Value tile, Location loc, RewriterBase &rewriter);
+/// Returns the type of SME tile this vector type corresponds to or none.
----------------
banach-space wrote:
[nit] Perhaps add a note that explains what could lead to "none".
https://github.com/llvm/llvm-project/pull/73253
More information about the Mlir-commits
mailing list