[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/select.ll

Rafael Espindola rafael.espindola at gmail.com
Mon Aug 21 15:00:49 PDT 2006



Changes in directory llvm/test/Regression/CodeGen/ARM:

select.ll added (r1.1)
---
Log message:

initial support for select


---
Diffs of the changes:  (+15 -0)

 select.ll |   15 +++++++++++++++
 1 files changed, 15 insertions(+)


Index: llvm/test/Regression/CodeGen/ARM/select.ll
diff -c /dev/null llvm/test/Regression/CodeGen/ARM/select.ll:1.1
*** /dev/null	Mon Aug 21 17:00:42 2006
--- llvm/test/Regression/CodeGen/ARM/select.ll	Mon Aug 21 17:00:32 2006
***************
*** 0 ****
--- 1,15 ----
+ 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
+ }






More information about the llvm-commits mailing list