1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Transforms/LoopRotate
Chris Lattner 4100881939 Teach loop rotate to hoist trivially invariant instructions
in the duplicated block instead of duplicating them.  

Duplicating them into the end of the loop and the preheader 
means that we got a phi node in the header of the loop, 
which prevented LICM from hoisting them.  GVN would
usually come around later and merge the duplicated 
instructions so we'd get reasonable output... except that
anything dependent on the shoulda-been-hoisted value can't
be hoisted.  In PR5319 (which this fixes), a memory value
didn't get promoted.

llvm-svn: 113134
2010-09-06 01:10:22 +00:00
..
2009-01-25-SingleEntryPhi.ll
basic.ll Teach loop rotate to hoist trivially invariant instructions 2010-09-06 01:10:22 +00:00
dg.exp
indirectbr.ll
LRCrash-1.ll
LRCrash-2.ll
LRCrash-3.ll
LRCrash-4.ll
LRCrash-5.ll
phi-duplicate.ll
PhiRename-1.ll
PhiSelfRefernce-1.ll
pr2639.ll
preserve-scev.ll