Mercurial > hg > CbC > CbC_llvm
diff test/Transforms/IndVarSimplify/lftr-extend-const.ll @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | 95c75e76d11b |
children | 60c9769439b8 |
line wrap: on
line diff
--- a/test/Transforms/IndVarSimplify/lftr-extend-const.ll Thu Dec 12 15:22:36 2013 +0900 +++ b/test/Transforms/IndVarSimplify/lftr-extend-const.ll Mon Sep 08 22:06:00 2014 +0900 @@ -1,8 +1,8 @@ ;RUN: opt -S %s -indvars | FileCheck %s -; CHECK-LABEL-LABEL: @foo( +; CHECK-LABEL: @foo( ; CHECK-NOT: %lftr.wideiv = trunc i32 %indvars.iv.next to i16 -; CHECK: %exitcond = icmp ne i32 %indvars.iv.next, 512 +; CHECK: %exitcond = icmp ne i32 %indvars.iv, 511 define void @foo() #0 { entry: br label %for.body @@ -20,8 +20,8 @@ } ; Check that post-incrementing the backedge taken count does not overflow. -; CHECK-LABEL-LABEL: @postinc( -; CHECK: icmp eq i32 %indvars.iv.next, 256 +; CHECK-LABEL: @postinc( +; CHECK: icmp eq i32 %indvars.iv, 255 define i32 @postinc() #0 { entry: br label %do.body