freebsd-nq/test/CodeGen/PowerPC/load-constant-addr.ll

10 lines
315 B
LLVM
Raw Normal View History

2009-06-02 17:52:33 +00:00
; Should fold the ori into the lfs.
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep lfs
; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep ori
2009-06-02 17:52:33 +00:00
define float @test() {
%tmp.i = load float, float* inttoptr (i32 186018016 to float*) ; <float> [#uses=1]
2009-06-02 17:52:33 +00:00
ret float %tmp.i
}