Without this patch getDerefOffsetInBytes incorrectly always returns std::nullopt for expressions with fragments due to an off-by-one error with fragment element indices.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D143567
[Assignment Tracking] Fix fragment index error in getDerefOffsetInBytes ClosedPublic Authored by Orlando on Feb 8 2023, 2:59 AM.
Details Summary Without this patch getDerefOffsetInBytes incorrectly always returns std::nullopt for expressions with fragments due to an off-by-one error with fragment element indices.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 8 2023, 7:34 AM This revision was landed with ongoing or failed builds.Feb 10 2023, 5:55 AM Closed by commit rG25d0f3c4d0d9: [Assignment Tracking] Fix fragment index error in getDerefOffsetInBytes (authored by Orlando). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 496446 llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
llvm/test/DebugInfo/assignment-tracking/X86/lower-to-value.ll
llvm/test/DebugInfo/assignment-tracking/X86/mem-loc-frag-fill.ll
llvm/test/DebugInfo/assignment-tracking/X86/nested-loop-frags.ll
|