[PATCH] D78398: [DebugInfo] Factor out SalvageDebugInfoForDbgValues() from InstCombine

Chris Jackson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 08:34:38 PDT 2020


chrisjackson updated this revision to Diff 260334.
chrisjackson added a comment.

- Removed the call to reverse() in InstCombine.cpp and updated the debuginfo_add.ll test accordingly.
- Moved some comments in InstCombine to a more appropriate spot.
- Simplified an iteration in InstCombine as suggested.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78398/new/

https://reviews.llvm.org/D78398

Files:
  llvm/include/llvm/Transforms/Utils/Local.h
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/lib/Transforms/Utils/Local.cpp
  llvm/test/Transforms/InstCombine/debuginfo_add.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78398.260334.patch
Type: text/x-patch
Size: 7654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200427/25fc8a5a/attachment.bin>


More information about the llvm-commits mailing list