projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Build with $(CC), not gcc explicitly
[oota-llvm.git]
/
test
/
CBackend
/
2002-05-21-MissingReturn.ll
1
; This case was emitting code that looked like this:
2
; ...
3
; llvm_BB1: /* no statement here */
4
; }
5
;
6
; Which the Sun C compiler rejected, so now we are sure to put a return
7
; instruction in there if the basic block is otherwise empty.
8
;
9
void "test"() {
10
br label %BB1
11
BB2:
12
br label %BB2
13
BB1:
14
ret void
15
}