New testcases

llvm-svn: 12820
This commit is contained in:
Chris Lattner 2004-04-10 22:21:14 +00:00
parent cf4a996cba
commit 1f99df6d27
1 changed files with 17 additions and 0 deletions

View File

@ -79,3 +79,20 @@ int %test12b(bool %cond, int %a) {
ret int %c
}
int %test13(int %a, int %b) {
%C = seteq int %a, %b
%V = select bool %C, int %a, int %b
ret int %V
}
int %test13a(int %a, int %b) {
%C = setne int %a, %b
%V = select bool %C, int %a, int %b
ret int %V
}
int %test13b(int %a, int %b) {
%C = seteq int %a, %b
%V = select bool %C, int %b, int %a
ret int %V
}