1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/test/CodeGen/PowerPC/load-constant-addr.ll
2007-01-17 07:59:14 +00:00

10 lines
267 B
LLVM

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