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
/
InstCombine
/
2005-07-07-DeadPHILoop.ll
blob
caee951b704c2b531c21289be40995d023eee7ee
1
; RUN: opt < %s -instcombine -disable-output
2
3
; This example caused instcombine to spin into an infinite loop.
4
5
define void @test(i32* %P) {
6
ret void
7
8
Dead: ; preds = %Dead
9
%X = phi i32 [ %Y, %Dead ] ; <i32> [#uses=1]
10
%Y = sdiv i32 %X, 10 ; <i32> [#uses=2]
11
store i32 %Y, i32* %P
12
br label %Dead
13
}
14