[llvm] [IR] Add initial support for the byte type (PR #178666)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 19 08:00:37 PST 2026
================
@@ -4132,6 +4131,66 @@ static void emitGlobalConstantFP(const ConstantFP *CFP, AsmPrinter &AP) {
emitGlobalConstantFP(CFP->getValueAPF(), CFP->getType(), AP);
}
+static void emitGlobalConstantLargeByte(const ConstantByte *CB,
----------------
nikic wrote:
Can you refactor this to avoid copying the implementation? It looks like this really just needs the APInt value plus the type store size, the rest is the same for int/byte.
https://github.com/llvm/llvm-project/pull/178666
More information about the llvm-commits
mailing list