[llvm] ec1d811 - [InstrRef][NFC] Improve diagram illustrating locations (#66944)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 22 05:04:28 PDT 2023
Author: Felipe de Azevedo Piovezan
Date: 2023-09-22T08:04:24-04:00
New Revision: ec1d811b97dfd8c6350cb8ea8be0b9825a838732
URL: https://github.com/llvm/llvm-project/commit/ec1d811b97dfd8c6350cb8ea8be0b9825a838732
DIFF: https://github.com/llvm/llvm-project/commit/ec1d811b97dfd8c6350cb8ea8be0b9825a838732.diff
LOG: [InstrRef][NFC] Improve diagram illustrating locations (#66944)
The "register number" arrow should point to `LocationID`, not `LocIdx`.
Added:
Modified:
llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
index 30de18e53c4fb43..5e94962f9d7e648 100644
--- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
+++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
@@ -602,8 +602,8 @@ class LocIdxToIndexFunctor {
/// Slot Num (%stack.0) /
/// FrameIdx => SpillNum /
/// \ /
-/// SpillID (int) Register number (int)
-/// \ /
+/// SpillID (int) Register number (int)
+/// \ /
/// LocationID => LocIdx
/// |
/// LocIdx => ValueIDNum
More information about the llvm-commits
mailing list