mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-10 06:54:54 +00:00
10 lines
237 B
LLVM
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
|
||
|
}
|
||
|
|