[llvm] [IR] Add initial support for the byte type (PR #178666)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 10 08:51:24 PST 2026
================
@@ -100,6 +100,62 @@ unsigned Type::getIntegerBitWidth() const {
return cast<IntegerType>(this)->getBitWidth();
}
+/// Class to represent byte types. Note that this class is also used to
+/// represent the built-in byte types: Byte8Ty, Byte16Ty, Byte32Ty and
+/// Byte64Ty.
+/// Byte representation type
----------------
nikic wrote:
```suggestion
/// Class to represent byte types.
```
Presumably copied from somewhere, this distinction of "built-in" types is weird, it's not really a thing.
https://github.com/llvm/llvm-project/pull/178666
More information about the llvm-commits
mailing list