1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 07:52:55 +01:00
llvm-mirror/test/CodeGen/PowerPC/load-constant-addr.ll

10 lines
264 B
LLVM
Raw Normal View History

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