projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c4b6de
)
Make this testcase more interesting
author
Chris Lattner
<sabre@nondot.org>
Fri, 2 Jul 2004 05:43:51 +0000
(
05:43
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 2 Jul 2004 05:43:51 +0000
(
05:43
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14561
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
patch
|
blob
|
history
diff --git
a/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
b/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
index a0f8362667caf32e8d5aa65f560ed15504406871..9efbf09b42665b035965bba55fc471be646e0b97 100644
(file)
--- a/
test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
+++ b/
test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
@@
-2,11
+2,12
@@
implementation
-
void
%test() {
-entry: ret
void
+
int
%test() {
+entry: ret
int 7
Test: ; dead block!
- call void %test()
- call void %test()
- ret void
+ %A = call int %test()
+ %B = call int %test()
+ %C = add int %A, %B
+ ret int %C
}