projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
886f98e
)
catch another constant
author
Andrew Lenharth
<andrewl@lenharth.org>
Wed, 20 Sep 2006 15:04:55 +0000
(15:04 +0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Wed, 20 Sep 2006 15:04:55 +0000
(15:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30533
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/Alpha/cmov.ll
patch
|
blob
|
history
diff --git
a/test/CodeGen/Alpha/cmov.ll
b/test/CodeGen/Alpha/cmov.ll
index 81310ca84ed34d8d123306aff762b8af0e089119..68ab61e2ec5d2983f72d34e33d741b9bd8515198 100644
(file)
--- a/
test/CodeGen/Alpha/cmov.ll
+++ b/
test/CodeGen/Alpha/cmov.ll
@@
-1,7
+1,7
@@
; RUN: llvm-as < %s | llc -march=alpha | not grep cmovlt
; RUN: llvm-as < %s | llc -march=alpha | grep cmoveq
-long %cmov
lt_
(long %a, long %c) {
+long %cmov
_lt
(long %a, long %c) {
entry:
%tmp.1 = setlt long %c, 0
%retval = select bool %tmp.1, long %a, long 10
@@
-15,3
+15,9
@@
entry:
ret long %retval
}
+long %cmov_lt2(long %a, long %c) {
+entry:
+ %tmp.1 = setgt long %c, 0
+ %retval = select bool %tmp.1, long 10, long %a
+ ret long %retval
+}