[Mlir-commits] [mlir] [mlir][LLVM] Add the `byte` type to the LLVM dialect (PR #203795)
Fabian Mora
llvmlistbot at llvm.org
Mon Jun 15 04:39:03 PDT 2026
Markus =?utf-8?q?Böck?= <markus.boeck02 at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/203795 at github.com>
================
@@ -60,6 +60,31 @@ def LLVMArrayType : LLVMType<"LLVMArray", "array", [
}];
}
+//===----------------------------------------------------------------------===//
+// LLVMByteType
+//===----------------------------------------------------------------------===//
+
+def LLVMByteType : LLVMType<"LLVMByte", "byte", [
+ DeclareTypeInterfaceMethods<DataLayoutTypeInterface,
+ ["getTypeSizeInBits", "getABIAlignment"]>,
+ VectorElementTypeInterface]> {
+ let summary = "LLVM byte type";
+ let description = [{
+ The ``!llvm.byte` type represents raw memory data in SSA registers, mirroring
----------------
fabianmcg wrote:
```suggestion
The `!llvm.byte` type represents raw memory data in SSA registers, mirroring
```
https://github.com/llvm/llvm-project/pull/203795
More information about the Mlir-commits
mailing list