New testcases

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16581 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-09-29 05:06:12 +00:00
parent 1f49e868aa
commit e14a9a71d3
2 changed files with 27 additions and 0 deletions

View File

@ -149,3 +149,17 @@ Lab1:
Lab2:
ret int 1231231
}
int %test23(bool %C, int %a) {
entry:
br bool %C, label %endif, label %else
else:
br label %endif
endif:
%b.0 = phi int [ 0, %entry ], [ 1, %else ]
%tmp.4 = add int %b.0, 1
ret int %tmp.4
}

View File

@ -87,3 +87,16 @@ bool %test17(ubyte %A) {
ret bool %C
}
bool %test18(bool %C, int %a) {
entry:
br bool %C, label %endif, label %else
else:
br label %endif
endif:
%b.0 = phi int [ 0, %entry ], [ 1, %else ]
%tmp.4 = setlt int %b.0, 123
ret bool %tmp.4
}