OSDN Git Service

simplify DeleteTriviallyDeadInstructions again, unlike my previous
authorChris Lattner <sabre@nondot.org>
Mon, 1 Dec 2008 06:11:32 +0000 (06:11 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 1 Dec 2008 06:11:32 +0000 (06:11 +0000)
commitbfcee36cd747bf9f791ba7aa3e9e8ac3671c6822
tree4082bef3f816d8ab5604645a93e948fb954e11cd
parentd8aafcb200bf413a5f477148b7f4ff6d6ea31e2d
simplify DeleteTriviallyDeadInstructions again, unlike my previous
buggy rewrite, this notifies ScalarEvolution of a pending instruction
about to be removed and then erases it, instead of erasing it then
notifying.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60329 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp