mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 23:48:49 +00:00
Make the test test what it is supposed to
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13826 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c0e61e3195
commit
896b64bf03
@ -5,6 +5,9 @@
|
||||
|
||||
implementation ; Functions:
|
||||
|
||||
declare void %foo()
|
||||
declare void %bar()
|
||||
|
||||
int %nullptr(int* %j) {
|
||||
bb0:
|
||||
store int 7, int* %j ; j != null
|
||||
@ -12,7 +15,9 @@ bb0:
|
||||
br bool %cond220, label %bb3, label %bb4 ; direct branch
|
||||
|
||||
bb3:
|
||||
call void %foo()
|
||||
ret int 4 ; Dead code
|
||||
bb4:
|
||||
call void %bar()
|
||||
ret int 3 ; Live code
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user