[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 12:06:53 PST 2019


spatel marked an inline comment as done.
spatel added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:2326-2330
           case Intrinsic::invariant_start:
           case Intrinsic::invariant_end:
           case Intrinsic::lifetime_start:
           case Intrinsic::lifetime_end:
           case Intrinsic::objectsize:
----------------
For reference - these are the potential intrinsics that we can encounter in the code below. The 'default' case says we can't see anything outside of this set.


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

https://reviews.llvm.org/D69977





More information about the llvm-commits mailing list