Reapply 'Run LICM pass after loop unrolling pass.'
authorKevin Qin <Kevin.Qin@arm.com>
Thu, 12 Mar 2015 05:36:01 +0000 (05:36 +0000)
committerKevin Qin <Kevin.Qin@arm.com>
Thu, 12 Mar 2015 05:36:01 +0000 (05:36 +0000)
commita56999c5decca0023e5ce481fc08571e227e3aa3
treeecdbcefee068f55290699086934ca14fd25d4466
parentd86e30a88e222e62fe1f55d02855facbdb02011d
Reapply 'Run LICM pass after loop unrolling pass.'

It's firstly committed at r231630, and reverted at r231635.

Function pass InstructionSimplifier is inserted as barrier to
make sure loop unroll pass won't affect on LICM pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232011 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/PassManagerBuilder.cpp
test/Transforms/LoopUnroll/runtime-loop4.ll [new file with mode: 0644]