[PATCH] D135453: [SelectionDAG] Use consistent type sizes for opcode
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 12 07:22:31 PDT 2022
foad added a comment.
In D135453#3852611 <https://reviews.llvm.org/D135453#3852611>, @mbrkusanin wrote:
> sizeof(SDNode) went from 88 to 96.
NodeType and NodeBitfields are supposed to pack into a 32-bit word. Maybe you could swap "uint16_t PersistentId;" to the start of the struct instead, and pack that with the NodeBitfields, to avoid increasing the size?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135453/new/
https://reviews.llvm.org/D135453
More information about the llvm-commits
mailing list