Speed up instsimplify by about 10-15% by not bothering to retry
authorDuncan Sands <baldrick@free.fr>
Mon, 3 Jan 2011 10:50:04 +0000 (10:50 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 3 Jan 2011 10:50:04 +0000 (10:50 +0000)
commitdc615e41b56daa380e80982097a609bb25afaa82
tree81fc65d1ad3a6c5dc77edad70c32f63cbc85c019
parentcc3d8e3c229768fb500b2721dbe4285d8e72516d
Speed up instsimplify by about 10-15% by not bothering to retry
InstructionSimplify on instructions that didn't change since the
last time round the loop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122745 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyInstructions.cpp