OSDN Git Service

LoopUnroll: Only check for ScalarEvolution analysis once, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 7 Oct 2014 21:12:44 +0000 (21:12 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 7 Oct 2014 21:12:44 +0000 (21:12 +0000)
commit9b303dcf12eb31170ef9541ce69aa53e66ad9955
treef8e078ed8efe9392821fbbe940353f3653149572
parentae06e97b3b126a5cee7c79153328bbc0d4c0dc17
LoopUnroll: Only check for ScalarEvolution analysis once, NFC

A follow-up commit will add use to a tight loop.  We might as well just
find it once anyway.

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