repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
Transforms
/
JumpThreading
/
undef.ll
blob
404aecf8613aebaf0bc12498054424e7ee3af39b
1
; RUN: opt < %s -jump-threading -S | not grep {br }
2
; RUN: opt < %s -jump-threading -S | grep {ret i32} | count 1
3
4
define i32 @test(i1 %cond) {
5
br i1 undef, label %T1, label %F1
6
7
T1:
8
ret i32 42
9
10
F1:
11
ret i32 17
12
}