[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/mvn.ll
Rafael Espindola
rafael.espindola at gmail.com
Tue Dec 12 06:03:46 PST 2006
Changes in directory llvm/test/Regression/CodeGen/ARM:
mvn.ll updated: 1.2 -> 1.3
---
Log message:
don't use "ordinary" addressing mode 1 when mvn is appropriate
---
Diffs of the changes: (+12 -1)
mvn.ll | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletion(-)
Index: llvm/test/Regression/CodeGen/ARM/mvn.ll
diff -u llvm/test/Regression/CodeGen/ARM/mvn.ll:1.2 llvm/test/Regression/CodeGen/ARM/mvn.ll:1.3
--- llvm/test/Regression/CodeGen/ARM/mvn.ll:1.2 Mon Dec 11 19:03:11 2006
+++ llvm/test/Regression/CodeGen/ARM/mvn.ll Tue Dec 12 08:03:29 2006
@@ -1,5 +1,5 @@
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep mvn | wc -l | grep 5
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep mvn | wc -l | grep 6
int %f1() {
entry:
@@ -53,3 +53,14 @@
%tmp3not = xor int %tmp3, -1 ; <int> [#uses=1]
ret int %tmp3not
}
+
+int %f9() {
+entry:
+ %tmp4845 = add int 0, 0
+ br label %cond_true4848
+
+cond_true4848: ; preds = %bb4835
+ %tmp4851 = sub int -3, 0 ; <int> [#uses=1]
+ %abc = add int %tmp4851, %tmp4845
+ ret int %abc
+}
More information about the llvm-commits
mailing list