[llvm] [DataLayout] Add byte specification (PR #106536)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 12:57:10 PDT 2024
================
@@ -91,6 +91,9 @@ class DataLayout {
private:
bool BigEndian = false;
+ /// The size of a byte in bits.
+ unsigned ByteWidth = 8;
----------------
s-barannikov wrote:
I thought about it too, but decided to leave it as is until there is an evidence that it affects compilation time. I didn't measure yet.
https://github.com/llvm/llvm-project/pull/106536
More information about the llvm-commits
mailing list