mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
New test case.
llvm-svn: 30179
This commit is contained in:
parent
100e48fe40
commit
384c254470
14
test/Regression/CodeGen/X86/test-not-cmp.ll
Normal file
14
test/Regression/CodeGen/X86/test-not-cmp.ll
Normal file
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user