mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26906 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
26d5d16a2c
commit
3dfd61b910
9
test/CodeGen/PowerPC/load-constant-addr.ll
Normal file
9
test/CodeGen/PowerPC/load-constant-addr.ll
Normal file
@ -0,0 +1,9 @@
|
||||
; 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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user