forked from OSchip/llvm-project
b01c24a945
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 |
||
---|---|---|
.. | ||
2009-01-25-SingleEntryPhi.ll | ||
LRCrash-1.ll | ||
LRCrash-2.ll | ||
LRCrash-3.ll | ||
LRCrash-4.ll | ||
LRCrash-5.ll | ||
PhiRename-1.ll | ||
PhiSelfRefernce-1.ll | ||
basic.ll | ||
dg.exp | ||
indirectbr.ll | ||
phi-duplicate.ll | ||
pr2639.ll | ||
preserve-scev.ll |