Details
- Reviewers
courbet - Commits
- rGabdd367b200a: [Bitfields][NFC] Make sure bitfields are contiguous
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/IR/Instruction.h | ||
---|---|---|
70 | The curretn naming does not make it immediately obvious what is a generic type (e.g. AlignmentBitfieldElement, BoolBitfieldElement) from an instantiation of this type with specific semantics (e.g. AlignmentField, SwiftErrorField). I think just appending a T or Type would make things more obvious: AlignmentBitfieldElementT, BoolBitfieldElementT. | |
llvm/include/llvm/IR/Instructions.h | ||
63–68 | What would you think of: using AlignmentField = AlignmentBitfieldElement<0>; // Next bit:5 using UsedWithInAllocaField = BoolBitfieldElement<AlignmentField::next>; // Next bit:6 using SwiftErrorField = BoolBitfieldElement<UsedWithInAllocaField::next>; // Next bit:7 |
llvm/include/llvm/IR/InstrTypes.h | ||
---|---|---|
1098–1099 | here too ? |
here too ?