[PATCH] D115128: [TableGen][CodeEmitter] Introducing the VarLenCodeEmitterGen infrastructure
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 25 10:33:55 PST 2022
craig.topper added inline comments.
================
Comment at: llvm/utils/TableGen/VarLenCodeEmitterGen.cpp:378
+ auto *B = cast<BitInit>(BI->getBit(Idx));
+ Value |= APInt(BitWidth, (uint64_t)B->getValue()) << (i + Idx);
+ }
----------------
Can this use setBitVal like the BitInit case below?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115128/new/
https://reviews.llvm.org/D115128
More information about the llvm-commits
mailing list