Changes in directory llvm/test/Regression/CodeGen/PowerPC:
load-constant-addr.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+9 -0) load-constant-addr.ll | 9 +++++++++ 1 files changed, 9 insertions(+) Index: llvm/test/Regression/CodeGen/PowerPC/load-constant-addr.ll diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/load-constant-addr.ll:1.1 *** /dev/null Mon Mar 20 16:37:15 2006 --- llvm/test/Regression/CodeGen/PowerPC/load-constant-addr.ll Mon Mar 20 16:37:05 2006 *************** *** 0 **** --- 1,9 ---- + ; Should fold the ori into the lfs. + ; RUN: llvm-as < %s | llc -march=ppc32 | grep lfs && + ; RUN: llvm-as < %s | llc -march=ppc32 | not grep ori + + float %test() { + %tmp.i = load float* cast (uint 186018016 to float*) + ret float %tmp.i + } + _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits