[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/spaddsub.ll
Lauro Ramos Venancio
lauro.venancio at gmail.com
Fri Jan 12 12:52:44 PST 2007
Changes in directory llvm/test/Regression/CodeGen/ARM:
spaddsub.ll added (r1.1)
---
Log message:
Don't add or sub zero to sp.
---
Diffs of the changes: (+10 -0)
spaddsub.ll | 10 ++++++++++
1 files changed, 10 insertions(+)
Index: llvm/test/Regression/CodeGen/ARM/spaddsub.ll
diff -c /dev/null llvm/test/Regression/CodeGen/ARM/spaddsub.ll:1.1
*** /dev/null Fri Jan 12 14:52:37 2007
--- llvm/test/Regression/CodeGen/ARM/spaddsub.ll Fri Jan 12 14:52:27 2007
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: llvm-upgrade < %s | llvm-as | llc -f -march=arm -o %t.s &&
+ ; RUN: not grep "add r13, r13, #0" < %t.s &&
+ ; RUN: not grep "sub r13, r13, #0" < %t.s
+
+ int %f() {
+ entry:
+ ret int 1
+ }
+
+
More information about the llvm-commits
mailing list