[Mlir-commits] [mlir] [MLIR] [AMX] Utilize x86_amx type for AMX dialect in MLIR. (PR #111197)

Renato Golin llvmlistbot at llvm.org
Sat Oct 5 10:34:40 PDT 2024


================
@@ -258,6 +259,9 @@ class LLVMTypeConverter : public TypeConverter {
   /// Convert a 1D vector type into an LLVM vector type.
   FailureOr<Type> convertVectorType(VectorType type) const;
 
+  /// Convert AMX tile type x86_amx type.
+  Type convertAMXTileType(amx::TileType type) const;
----------------
rengolin wrote:

To be clear, you may need to declare the type twice: `amx::TileType` that lowers directly to `llvm::x86_amx` without need for conversion.

https://github.com/llvm/llvm-project/pull/111197


More information about the Mlir-commits mailing list