mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
new testcase
llvm-svn: 23323
This commit is contained in:
parent
6eee5b16b1
commit
dbe60107c5
@ -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