1 ; RUN: llc -mtriple=powerpc64-unknown-linux-gnu < %s -verify-machineinstrs | FileCheck %s
2 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-f128:128:128-v128:128:128-n32:64"
3 target triple = "powerpc64-unknown-linux-gnu"
5 %struct.__jmp_buf_tag.1.15.17.21.25.49.53.55 = type { [64 x i64], i32, %struct.__sigset_t.0.14.16.20.24.48.52.54, [8 x i8] }
6 %struct.__sigset_t.0.14.16.20.24.48.52.54 = type { [16 x i64] }
8 @env_sigill = external global [1 x %struct.__jmp_buf_tag.1.15.17.21.25.49.53.55], align 16
13 ; Function Attrs: nounwind
14 define void @main() #0 {
16 br i1 undef, label %return, label %if.end
18 if.end: ; preds = %entry
19 br i1 undef, label %for.body.lr.ph, label %for.end.thread
21 for.end.thread: ; preds = %if.end
24 for.body.lr.ph: ; preds = %if.end
27 for.cond: ; preds = %for.body
28 %cmp2 = icmp slt i32 %inc, undef
29 br i1 %cmp2, label %for.body, label %for.end
31 for.body: ; preds = %for.cond, %for.body.lr.ph
32 %i.032 = phi i32 [ 0, %for.body.lr.ph ], [ %inc, %for.cond ]
33 %0 = call i32 @llvm.eh.sjlj.setjmp(i8* bitcast ([1 x %struct.__jmp_buf_tag.1.15.17.21.25.49.53.55]* @env_sigill to i8*))
34 %inc = add nsw i32 %i.032, 1
35 br i1 false, label %if.else, label %for.cond
37 if.else: ; preds = %for.body
40 for.end: ; preds = %for.cond
43 return: ; preds = %for.end.thread, %entry
47 ; Function Attrs: nounwind
48 declare i32 @llvm.eh.sjlj.setjmp(i8*) #0
50 attributes #0 = { nounwind }