Skip to content

Commit ebd7f75

Browse files
committed
[KeyInstr][NFC] Fix incorrect atomGroup/rank uint size in computeKeyInstructions
1 parent cf6ae06 commit ebd7f75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2368,8 +2368,8 @@ void DwarfDebug::computeKeyInstructions(const MachineFunction *MF) {
23682368
// Map {(InlinedAt, Group): (Rank, Instructions)}.
23692369
// NOTE: Anecdotally, for a large C++ blob, 99% of the instruction
23702370
// SmallVectors contain 2 or fewer elements; use 2 inline elements.
2371-
DenseMap<std::pair<DILocation *, uint32_t>,
2372-
std::pair<uint16_t, SmallVector<const MachineInstr *, 2>>>
2371+
DenseMap<std::pair<DILocation *, uint64_t>,
2372+
std::pair<uint8_t, SmallVector<const MachineInstr *, 2>>>
23732373
GroupCandidates;
23742374

23752375
// For each instruction:

0 commit comments

Comments
 (0)