OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0e61e3
)
Make the test test what it is supposed to
author
Chris Lattner
<sabre@nondot.org>
Thu, 27 May 2004 07:37:45 +0000
(07:37 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 27 May 2004 07:37:45 +0000
(07:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13826
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/CorrelatedExprs/nullpointer.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/CorrelatedExprs/nullpointer.ll
b/test/Transforms/CorrelatedExprs/nullpointer.ll
index
8f3402b
..
fdb561e
100644
(file)
--- a/
test/Transforms/CorrelatedExprs/nullpointer.ll
+++ b/
test/Transforms/CorrelatedExprs/nullpointer.ll
@@
-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
}