[PATCH] D21076: [DSE] Ignore dbg value when instruction iterator is reset.
Henric Karlsson via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 7 07:44:59 PDT 2016
Henric created this revision.
Henric added reviewers: probinson, JakeVanAdrighem.
Henric added a subscriber: llvm-commits.
Fix for PR27940
After a store has been eliminated, when making sure that the instruction
iterator points to a valid instruction, dbg intrinsics are now ignored as
a new instruction.
http://reviews.llvm.org/D21076
Files:
lib/Transforms/Scalar/DeadStoreElimination.cpp
test/Transforms/DeadStoreElimination/dse_with_dbg_value.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21076.59883.patch
Type: text/x-patch
Size: 6027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160607/0db1c566/attachment.bin>
More information about the llvm-commits
mailing list