llvm-6502/test/Transforms/ConstantHoisting
Juergen Ributzka b95412cc24 [Constant Hoisting] Materialize the constant before the cloned cast instruction.
In the case where the constant comes from a cloned cast instruction, the
materialization code has to go before the cloned cast instruction.

This commit fixes the method that finds the materialization insertion point
by making it aware of this case.

This fixes <rdar://problem/15532441>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206913 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-22 18:06:58 +00:00
..
ARM64 [ARM64] Never hoist the shift value of a shift instruction. 2014-04-12 02:53:51 +00:00
PowerPC [PowerPC] [Constant Hoisting] Enable constant hoisting on PPC 2014-04-13 23:02:40 +00:00
X86 [Constant Hoisting] Materialize the constant before the cloned cast instruction. 2014-04-22 18:06:58 +00:00