aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrlando Cazalet-Hyams <orlando.hyams@sony.com>2025-06-13 13:26:29 +0100
committerOrlando Cazalet-Hyams <orlando.hyams@sony.com>2025-06-13 16:04:03 +0100
commitebd7f7539b1c2bc7d5e391bbb00cb56dc245b2dd (patch)
treef1cf3e57417ba32a34f9dc4f84203c33e3f5f596
parentcf6ae065a042aae6324b28e99628c40bc53be0b7 (diff)
downloadllvm-ebd7f7539b1c2bc7d5e391bbb00cb56dc245b2dd.zip
llvm-ebd7f7539b1c2bc7d5e391bbb00cb56dc245b2dd.tar.gz
llvm-ebd7f7539b1c2bc7d5e391bbb00cb56dc245b2dd.tar.bz2
[KeyInstr][NFC] Fix incorrect atomGroup/rank uint size in computeKeyInstructions
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 5fb74a0..0edfca78 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -2368,8 +2368,8 @@ void DwarfDebug::computeKeyInstructions(const MachineFunction *MF) {
// Map {(InlinedAt, Group): (Rank, Instructions)}.
// NOTE: Anecdotally, for a large C++ blob, 99% of the instruction
// SmallVectors contain 2 or fewer elements; use 2 inline elements.
- DenseMap<std::pair<DILocation *, uint32_t>,
- std::pair<uint16_t, SmallVector<const MachineInstr *, 2>>>
+ DenseMap<std::pair<DILocation *, uint64_t>,
+ std::pair<uint8_t, SmallVector<const MachineInstr *, 2>>>
GroupCandidates;
// For each instruction: