llvm-6502/test/CodeGen/PowerPC/load-constant-addr.ll
Chris Lattner 3dfd61b910 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26906 91177308-0d34-0410-b5e6-96231b3b80d8
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
}