Merging r259740:
[oota-llvm.git] / test / CodeGen / PowerPC / load-constant-addr.ll
1 ; Should fold the ori into the lfs.
2 ; RUN: llc < %s -march=ppc32 | grep lfs
3 ; RUN: llc < %s -march=ppc32 | not grep ori
4
5 define float @test() {
6         %tmp.i = load float, float* inttoptr (i32 186018016 to float*)         ; <float> [#uses=1]
7         ret float %tmp.i
8 }
9