Revert "[InstCombine] avoid crash from deleting an instruction that still has uses...
authorSanjay Patel <spatel@rotateright.com>
Sun, 10 Nov 2019 16:18:05 +0000 (11:18 -0500)
committerSanjay Patel <spatel@rotateright.com>
Sun, 10 Nov 2019 16:18:05 +0000 (11:18 -0500)
commitb0ac26a6326ff145f7c09ec55a5cb6f695b6a237
tree1383b322ba51837c0b82bcc1e51f049200dd08d8
parent1c737f54bee9df81c63ddf6ee2ad1d23a93c0ba0
Revert "[InstCombine] avoid crash from deleting an instruction that still has uses (PR43723)"

This reverts commit ef02831f0a4e3b3ccaa45a5589e4cabecbf527ab.
Sanitizer bots fail with this change.
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll