[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/select.ll
Rafael Espindola
rafael.espindola at gmail.com
Fri Sep 8 05:53:05 PDT 2006
Changes in directory llvm/test/Regression/CodeGen/ARM:
select.ll updated: 1.7 -> 1.8
---
Log message:
fix select.ll to always test a select node
---
Diffs of the changes: (+2 -11)
select.ll | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
Index: llvm/test/Regression/CodeGen/ARM/select.ll
diff -u llvm/test/Regression/CodeGen/ARM/select.ll:1.7 llvm/test/Regression/CodeGen/ARM/select.ll:1.8
--- llvm/test/Regression/CodeGen/ARM/select.ll:1.7 Fri Sep 8 07:47:03 2006
+++ llvm/test/Regression/CodeGen/ARM/select.ll Fri Sep 8 07:52:50 2006
@@ -3,15 +3,6 @@
int %f(int %a) {
entry:
%tmp = seteq int %a, 4 ; <bool> [#uses=1]
- br bool %tmp, label %cond_false, label %cond_true
-
-cond_true: ; preds = %entry
- br label %return
-
-cond_false: ; preds = %entry
- br label %return
-
-return: ; preds = %cond_false, %cond_true
- %retval.0 = phi int [ 2, %cond_true ], [ 3, %cond_false ] ; <int> [#uses=1]
- ret int %retval.0
+ %tmp1 = select bool %tmp, int 2, int 3
+ ret int %tmp1
}
More information about the llvm-commits
mailing list