llvm.org GIT mirror llvm / release_35 test / CodeGen / PowerPC / load-constant-addr.ll
release_35

Tree @release_35 (Download .tar.gz)

load-constant-addr.ll @release_35raw · history · blame

1
2
3
4
5
6
7
8
; 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
}