Mercurial > hg > CbC > CbC_llvm
view test/Other/cleanup-lcssa.ll @ 129:9ec641e857f8
Fix compile error to update llvm 5.0
author | mir3636 |
---|---|
date | Tue, 12 Dec 2017 19:42:58 +0900 |
parents | 1172e4bd9c6f |
children |
line wrap: on
line source
; RUN: opt -S -O3 < %s | FileCheck %s define i64 @test() { entry: br label %loop loop: %i = phi i64 [ 0, %entry ], [ %inc, %loop ] %inc = add i64 %i, 1 %cond = tail call i1 @check() br i1 %cond, label %loop, label %exit exit: ; CHECK-NOT: lcssa ret i64 %i } declare i1 @check()