aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorOrlando Cazalet-Hyams <orlando.hyams@sony.com>2023-12-12 14:53:27 +0000
committerGitHub <noreply@github.com>2023-12-12 14:53:27 +0000
commit300ac0aa85864ddd4ec1b5eb65ae52918434d003 (patch)
treed85cabb3f0daa53cc60a86e4ba88c3f2139759e8 /llvm/lib/Transforms/Utils/Local.cpp
parent5457fab15cd210cd7d89278bea173dc5d0261d3b (diff)
downloadllvm-300ac0aa85864ddd4ec1b5eb65ae52918434d003.zip
llvm-300ac0aa85864ddd4ec1b5eb65ae52918434d003.tar.gz
llvm-300ac0aa85864ddd4ec1b5eb65ae52918434d003.tar.bz2
[RemoveDIs] Fix removeRedundantDdbgInstrs utils for dbg.declares (#74102)
The intrinsic variants of these functions don't do anything to dbg.declares so the non-instruction variants should ignore them too. Tested in llvm/test/DebugInfo/duplicate_dbgvalue.ll, which has `--try-experimental-debuginfo-iterators` added in #73504. The tests will become "live" once #74090 lands (see for more info).
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions