repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Generic
/
empty-phi.ll
blob
2a7081cc5db06db43461babc61a3b1b1255024ac
1
; RUN: llc < %s
2
3
define void @f() {
4
entry:
5
br label %bb1
6
7
bb1:
8
%0 = phi [0 x { ptr, i64, i64 }] [ %load, %bb2 ], [ undef, %entry ]
9
store [0 x { ptr, i64, i64 }] %0, ptr undef, align 8
10
%1 = icmp eq i64 undef, 0
11
br i1 %1, label %bb2, label %bb3
12
13
bb2:
14
%load = load [0 x { ptr, i64, i64 }], ptr undef, align 8
15
br label %bb1
16
17
bb3:
18
ret void
19
}