[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/load-constant-addr.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Mar 20 14:37:17 PST 2006
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
+ }
+
More information about the llvm-commits
mailing list