[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
================
@@ -2470,8 +2451,8 @@ AttributeMask AttributeFuncs::typeIncompatible(Type *Ty, AttributeSet AS,
AttributeSafetyKind ASK) {
AttributeMask Incompatible;
- if (!Ty->isIntegerTy()) {
- // Attributes that only apply to integers.
+ if (!Ty->isIntegerTy() && !Ty->isByteTy()) {
----------------
nikic wrote:
Why are we allowing byte allocalign here?
https://github.com/llvm/llvm-project/pull/178666
More information about the llvm-commits
mailing list