[all-commits] [llvm/llvm-project] 5ba521: [DebugInfo][RemoveDIs] Have LICM insert at iterato...
Jeremy Morse via All-commits
all-commits at lists.llvm.org
Thu Nov 30 05:00:42 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5ba5211a477f0d513eaed2b35e04239f005a30bd
https://github.com/llvm/llvm-project/commit/5ba5211a477f0d513eaed2b35e04239f005a30bd
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2023-11-30 (Thu, 30 Nov 2023)
Changed paths:
M llvm/include/llvm/IR/Instructions.h
M llvm/include/llvm/Transforms/Utils/LoopUtils.h
M llvm/lib/IR/Instructions.cpp
M llvm/lib/Transforms/Scalar/LICM.cpp
M llvm/test/DebugInfo/X86/licm-undef-dbg-value.ll
A llvm/test/Transforms/LICM/dbg-value-sink.ll
M llvm/test/Transforms/LICM/debug-value.ll
M llvm/test/Transforms/LICM/hoist-debuginvariant.ll
Log Message:
-----------
[DebugInfo][RemoveDIs] Have LICM insert at iterator positions (#73671)
Because we're storing some extra debug-info information in the iterator
class, we need to insert new LICM-created stores using such iterators.
Switch LICM to storing iterators instead of pointers when it promotes
variables in loops, add a test for the desired behaviour, and enable
RemoveDIs instrumentation on a variety of other LICM tests for good
measure.
(This would appear to be the only pass in LLVM that needs to store
iterators on the heap).
More information about the All-commits
mailing list