1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/CodeGen/PowerPC/load-constant-addr.ll
2009-09-09 00:09:15 +00:00

10 lines
264 B
LLVM

; Should fold the ori into the lfs.
; RUN: llc < %s -march=ppc32 | grep lfs
; RUN: llc < %s -march=ppc32 | not grep ori
define float @test() {
%tmp.i = load float* inttoptr (i32 186018016 to float*) ; <float> [#uses=1]
ret float %tmp.i
}