brintos

brintos / llvm-project-archived public Read only

0
0
Text · 296 B · b04eff6 Raw
19 lines · plain
1; RUN: opt -S -O3 < %s | FileCheck %s2 3define i64 @test() {4entry:5  br label %loop6 7loop:8  %i = phi i64 [ 0, %entry ], [ %inc, %loop ]9  %inc = add i64 %i, 110  %cond = tail call i1 @check()11  br i1 %cond, label %loop, label %exit12 13exit:14  ; CHECK-NOT: lcssa15  ret i64 %i16}17 18declare i1 @check()19