[all-commits] [llvm/llvm-project] 25d0f3: [Assignment Tracking] Fix fragment index error in ...
Orlando Cazalet-Hyams via All-commits
all-commits at lists.llvm.org
Fri Feb 10 05:55:19 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 25d0f3c4d0d9f01755b008b5af92448ba593adf9
https://github.com/llvm/llvm-project/commit/25d0f3c4d0d9f01755b008b5af92448ba593adf9
Author: OCHyams <orlando.hyams at sony.com>
Date: 2023-02-10 (Fri, 10 Feb 2023)
Changed paths:
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/test/DebugInfo/assignment-tracking/X86/lower-to-value.ll
M llvm/test/DebugInfo/assignment-tracking/X86/mem-loc-frag-fill.ll
M llvm/test/DebugInfo/assignment-tracking/X86/nested-loop-frags.ll
Log Message:
-----------
[Assignment Tracking] Fix fragment index error in getDerefOffsetInBytes
Without this patch `getDerefOffsetInBytes` incorrectly always returns
`std::nullopt` for expressions with fragments due to an off-by-one error with
fragment element indices.
Reviewed By: StephenTozer
Differential Revision: https://reviews.llvm.org/D143567
More information about the All-commits
mailing list