YouCompleteMe/cpp/llvm/test/CodeGen/PowerPC/load-constant-addr.ll

10 lines
264 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; Should fold the ori into the lfs.
; RUN: llc < %s -march=ppc32 | grep lfs
; RUN: llc < %s -march=ppc32 | not grep ori
define float @test() {
%tmp.i = load float* inttoptr (i32 186018016 to float*) ; <float> [#uses=1]
ret float %tmp.i
}