Skip to content

Commit e439de8

Browse files
committed
fix bitfield for msvc
1 parent 4109bac commit e439de8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/include/llvm/IR/DebugInfoMetadata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2237,7 +2237,7 @@ class DILocation : public MDNode {
22372237
friend class MDNode;
22382238
#ifdef EXPERIMENTAL_KEY_INSTRUCTIONS
22392239
uint64_t AtomGroup : 61;
2240-
uint8_t AtomRank : 3;
2240+
uint64_t AtomRank : 3;
22412241
#endif
22422242

22432243
DILocation(LLVMContext &C, StorageType Storage, unsigned Line,

llvm/lib/IR/LLVMContextImpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ template <> struct MDNodeKeyImpl<DILocation> {
316316
Metadata *InlinedAt;
317317
bool ImplicitCode;
318318
uint64_t AtomGroup : 61;
319-
uint8_t AtomRank : 3;
319+
uint64_t AtomRank : 3;
320320

321321
MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope,
322322
Metadata *InlinedAt, bool ImplicitCode, uint64_t AtomGroup,

0 commit comments

Comments
 (0)