This helps towards the effort to remove UndefValue from LLVM.
Related to https://discourse.llvm.org/t/auto-undef-debug-uses-of-a-deleted-value
Paths
| Differential D140905
[DebugInfo] Replace UndefValue with PoisonValue in setKillLocation ClosedPublic Authored by Orlando on Jan 3 2023, 9:10 AM.
Details Summary This helps towards the effort to remove UndefValue from LLVM. Related to https://discourse.llvm.org/t/auto-undef-debug-uses-of-a-deleted-value
Diff Detail Event TimelineOrlando added a parent revision: D140904: [DebugInfo] Prefer to use setKillLocation rather than replacing operands with undef.Jan 3 2023, 9:13 AM Orlando added a child revision: D140906: [DebugInfo] Replace UndefValue with PoisonValue in AssignmentTrackingAnalysis. This revision is now accepted and ready to land.Jan 3 2023, 2:15 PM Orlando removed a child revision: D140906: [DebugInfo] Replace UndefValue with PoisonValue in AssignmentTrackingAnalysis.Jan 6 2023, 12:19 AM Orlando removed a parent revision: D140904: [DebugInfo] Prefer to use setKillLocation rather than replacing operands with undef. This revision was landed with ongoing or failed builds.Jan 6 2023, 2:52 AM Closed by commit rG7ea47f9e4193: [DebugInfo] Replace UndefValue with PoisonValue in setKillLocation (authored by Orlando). · Explain Why This revision was automatically updated to reflect the committed changes. Orlando mentioned this in rG48c68367d032: NFC Address review comment for D140905.Jan 6 2023, 3:01 AM Comment Actions Thanks
Revision Contents
Diff 486007 llvm/include/llvm/IR/IntrinsicInst.h
llvm/test/DebugInfo/Generic/assignment-tracking/loop-deletion/dead-loop.ll
llvm/test/DebugInfo/Generic/assignment-tracking/salvage-value.ll
llvm/test/DebugInfo/Generic/pr40628.ll
llvm/test/DebugInfo/X86/dead-store-elimination-marks-undef.ll
llvm/test/DebugInfo/X86/licm-undef-dbg-value.ll
llvm/test/DebugInfo/limit-arglist-size.ll
llvm/test/DebugInfo/salvage-limit-expr-size.ll
llvm/test/Transforms/BDCE/pr41925.ll
llvm/test/Transforms/InstCombine/debuginfo-dce.ll
llvm/test/Transforms/InstCombine/debuginfo-sink.ll
llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll
llvm/test/Transforms/InstCombine/pr43893.ll
llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll
llvm/test/Transforms/LoopDeletion/diundef.ll
llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-1.ll
llvm/test/Transforms/Reassociate/reassociate_dbgvalue_discard.ll
llvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll
|
Maybe rename this var to Poison