[PATCH] D69977: [InstCombine] avoid crash from deleting an instruction that still has uses (PR43723)
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 8 13:38:50 PST 2019
spatel updated this revision to Diff 228515.
spatel added a comment.
Patch updated:
Try harder to verify that a llvm.invariant.start is used as expected by llvm.invariant.end. If so, delete both at the same time. If not, don't try to delete the 'start'.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69977/new/
https://reviews.llvm.org/D69977
Files:
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69977.228515.patch
Type: text/x-patch
Size: 4388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191108/a5665942/attachment.bin>
More information about the llvm-commits
mailing list