mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
13 lines
227 B
LLVM
13 lines
227 B
LLVM
|
; RUN: opt < %s -loop-vectorize -dce
|
||
|
|
||
|
; Check that we don't fall into an infinite loop.
|
||
|
define void @test() nounwind {
|
||
|
entry:
|
||
|
br label %for.body
|
||
|
|
||
|
for.body:
|
||
|
%0 = phi i32 [ 1, %entry ], [ 0, %for.body ]
|
||
|
br label %for.body
|
||
|
}
|
||
|
|