Add compile command to each testcase
[gcc-vect-testsuite.git] / no-scevccp-vect-iv-3.ll
blobb0df8ee82934692759febb3af1795b654bf107e7
1 ; RUN: opt %loadPolly %defaultOpts -polly-codegen -enable-polly-vector -dce -S %s | FileCheck %s
2 ; Obtained from C source as:
3 ; clang -S -emit-llvm -O0 no-scevccp-vect-iv-3.c
4 ; opt -correlated-propagation -mem2reg -instcombine -loop-simplify -indvars -instnamer no-scevccp-vect-iv-3.s > no-scevccp-vect-iv-3.ll
6 ; ModuleID = 'no-scevccp-vect-iv-3.s'
7 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
8 target triple = "x86_64-unknown-linux-gnu"
10 define i32 @main1() nounwind uwtable noinline {
11 entry:
12   br label %for.cond
14 for.cond:                                         ; preds = %for.inc, %entry
15   %conv3 = phi i32 [ %indvar.next, %for.inc ], [ 0, %entry ]
16   %exitcond = icmp ne i32 %conv3, 26
17   br i1 %exitcond, label %for.body, label %for.end
19 for.body:                                         ; preds = %for.cond
20   br label %for.inc
22 for.inc:                                          ; preds = %for.body
23   %indvar.next = add i32 %conv3, 1
24   br label %for.cond
26 for.end:                                          ; preds = %for.cond
27   ret i32 325
29 ; CHECK: define