Add compile command to each testcase
[gcc-vect-testsuite.git] / pr28952.ll
blob455d047d7b0904ea1fd106624413451fc83bc2e8
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 pr28952.c
4 ; opt -correlated-propagation -mem2reg -instcombine -loop-simplify -indvars -instnamer pr28952.s > pr28952.ll
6 ; ModuleID = 'pr28952.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 %struct.packet_spaceship_info = type { [33 x i8] }
12 define i32 @send_spaceship_info() nounwind uwtable {
13 entry:
14   %info = alloca %struct.packet_spaceship_info, align 1
15   br label %for.cond
17 for.cond:                                         ; preds = %for.inc, %entry
18   %indvar = phi i64 [ %indvar.next, %for.inc ], [ 0, %entry ]
19   %arrayidx8 = getelementptr %struct.packet_spaceship_info* %info, i64 0, i32 0, i64 %indvar
20   %exitcond = icmp ne i64 %indvar, 32
21   br i1 %exitcond, label %for.body, label %for.end
23 for.body:                                         ; preds = %for.cond
24   store i8 undef, i8* null, align 536870912
25   store i8 48, i8* %arrayidx8, align 1
26   br label %for.inc
28 for.inc:                                          ; preds = %for.body
29   %indvar.next = add i64 %indvar, 1
30   br label %for.cond
32 for.end:                                          ; preds = %for.cond
33   %call = call i32 (...)* @lsend_packet_spaceship_info(%struct.packet_spaceship_info* %info) nounwind
34   ret i32 undef
37 declare i32 @lsend_packet_spaceship_info(...)
38 ; CHECK: define