mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 00:37:09 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23323 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9c1f0fd8de
commit
15cc608a8f
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user