summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/CodeGen
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2006-09-03 13:19:16 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2006-09-03 13:19:16 +0000
commit5328ba96e1a06ebe045999769defc89f1fc11fa1 (patch)
treea392231639c3835493bfed3c0b784c11433594ff /llvm/test/Regression/CodeGen
parent8584e940b82e8be4180ef6611ac5a33510abb980 (diff)
downloadbcm5719-llvm-5328ba96e1a06ebe045999769defc89f1fc11fa1.tar.gz
bcm5719-llvm-5328ba96e1a06ebe045999769defc89f1fc11fa1.zip
add the SETULT condition code
llvm-svn: 30067
Diffstat (limited to 'llvm/test/Regression/CodeGen')
-rw-r--r--llvm/test/Regression/CodeGen/ARM/branch.ll16
1 files changed, 15 insertions, 1 deletions
diff --git a/llvm/test/Regression/CodeGen/ARM/branch.ll b/llvm/test/Regression/CodeGen/ARM/branch.ll
index e4ac1af4ce0..57aa179a7cd 100644
--- a/llvm/test/Regression/CodeGen/ARM/branch.ll
+++ b/llvm/test/Regression/CodeGen/ARM/branch.ll
@@ -1,7 +1,8 @@
; RUN: llvm-as < %s | llc -march=arm &&
; RUN: llvm-as < %s | llc -march=arm | grep bne &&
; RUN: llvm-as < %s | llc -march=arm | grep bge &&
-; RUN: llvm-as < %s | llc -march=arm | grep bcs
+; RUN: llvm-as < %s | llc -march=arm | grep bcs &&
+; RUN: llvm-as < %s | llc -march=arm | grep bcc
void %f1(int %a, int %b, int* %v) {
entry:
@@ -41,3 +42,16 @@ cond_true: ; preds = %entry
return: ; preds = %entry
ret void
}
+
+void %f4(uint %a, uint %b, int* %v) {
+entry:
+ %tmp = setlt uint %a, %b ; <bool> [#uses=1]
+ br bool %tmp, label %return, label %cond_true
+
+cond_true: ; preds = %entry
+ store int 0, int* %v
+ ret void
+
+return: ; preds = %entry
+ ret void
+}
OpenPOWER on IntegriCloud