[PATCH] D118392: [SCCP][FuncSpec] Switch away from Instruction::isSafeToRemove()

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 28 12:17:26 PDT 2022


nikic added a comment.

Can we use wouldInstructionBeTriviallyDead here as well? Relying on the CallBase bailout will probably come back bite us (at least, it's not really obvious to me why it is needed).


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

https://reviews.llvm.org/D118392



More information about the llvm-commits mailing list