Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / PowerPC / load-constant-addr.ll
1 ; Should fold the ori into the lfs.
2 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep lfs &&
3 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep ori
4
5 float %test() {
6   %tmp.i = load float* cast (uint 186018016 to float*)
7   ret float %tmp.i
8 }
9