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
/
SSI
/
ssiphi.ll
blob
a42b70c3c021198b8bd2722250b01365617162bd
1
; RUN: opt < %s -ssi-everything -S | FileCheck %s
2
3
declare void @use(i32)
4
declare i32 @create()
5
6
define i32 @foo() {
7
entry:
8
%x = call i32 @create()
9
%y = icmp slt i32 %x, 10
10
br i1 %y, label %T, label %F
11
T:
12
; CHECK: SSI_sigma
13
call void @use(i32 %x)
14
br label %join
15
F:
16
; CHECK: SSI_sigma
17
call void @use(i32 %x)
18
br label %join
19
join:
20
; CHECK: SSI_phi
21
ret i32 %x
22
}