[PATCH] D43129: [Utils] Salvage debug info from dead 'or' instructions

Ismail Badawi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 10:02:22 PST 2018


ibadawi created this revision.
ibadawi added reviewers: aprantl, vsk, davide, djtodoro.
Herald added subscribers: llvm-commits, JDevlieghere.

Extend salvageDebugInfo to preserve the debug info from a dead 'or' with a constant.


Repository:
  rL LLVM

https://reviews.llvm.org/D43129

Files:
  include/llvm/IR/DebugInfoMetadata.h
  lib/CodeGen/AsmPrinter/DwarfExpression.cpp
  lib/IR/DebugInfoMetadata.cpp
  lib/Transforms/Utils/Local.cpp
  test/Transforms/InstCombine/debuginfo-dce-or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43129.133639.patch
Type: text/x-patch
Size: 6791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180209/075a0cda/attachment.bin>


More information about the llvm-commits mailing list