new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23323 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-09-12 23:22:17 +00:00
parent 9c1f0fd8de
commit 15cc608a8f

View File

@ -72,3 +72,17 @@ int %test9(int* %P) {
%Z = sub int %X, %Y
ret int %Z
}
int %test10(bool %C, int* %P, int* %Q) {
br bool %C, label %T, label %F
T:
store int 1, int* %Q
store int 0, int* %P
br label %C
F:
store int 0, int* %P
br label %C
C:
%V = load int* %P ;; always 0
ret int %V
}