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:
36978b9
)
New test case.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 8 Sep 2006 07:24:20 +0000
(07:24 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 8 Sep 2006 07:24:20 +0000
(07:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30179
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/test-not-cmp.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/X86/test-not-cmp.ll
b/test/CodeGen/X86/test-not-cmp.ll
new file mode 100644
(file)
index 0000000..
1064893
--- /dev/null
+++ b/
test/CodeGen/X86/test-not-cmp.ll
@@ -0,0
+1,14
@@
+; RUN: llvm-as < %s | llc -march=x86
+; RUN: llvm-as < %s | llc -march=x86 | grep test
+
+int %test(int %X, int* %y) {
+ %tmp = load int* %y
+ %tmp = seteq int %tmp, 0
+ br bool %tmp, label %ReturnBlock, label %cond_true
+
+cond_true:
+ ret int 1
+
+ReturnBlock:
+ ret int 0
+}