1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Transforms/LoopVectorize/2012-10-20-infloop.ll

13 lines
227 B
LLVM
Raw Normal View History

; 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
}