1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00
llvm-mirror/test/Transforms/ConstantHoisting
Juergen Ributzka e6dc2fa469 [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>

llvm-svn: 206913
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