llvm-mirror/test/Regression/CodeGen/PowerPC/load-constant-addr.ll
Chris Lattner b59ca7a728 new testcase
llvm-svn: 26906
2006-03-20 22:37:05 +00:00

10 lines
237 B
LLVM

; Should fold the ori into the lfs.
; RUN: llvm-as < %s | llc -march=ppc32 | grep lfs &&
; RUN: llvm-as < %s | llc -march=ppc32 | not grep ori
float %test() {
%tmp.i = load float* cast (uint 186018016 to float*)
ret float %tmp.i
}