Teach the jump threading optimization to stop scanning the basic block when calculati...
authorNadav Rotem <nrotem@apple.com>
Mon, 3 Dec 2012 17:34:44 +0000 (17:34 +0000)
committerNadav Rotem <nrotem@apple.com>
Mon, 3 Dec 2012 17:34:44 +0000 (17:34 +0000)
commitc69908695af9cf509bf498a492854db5f0556e0f
treec6259e11713b941055ea57e752a4ceaf0f894e02
parentd30f168616c789be11c41ef8ac67985caba67f15
Teach the jump threading optimization to stop scanning the basic block when calculating the cost after passing the threshold.

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