[OpenACC] Enable 'attach' clause for combined constructs
[llvm-project.git] / llvm / test / CodeGen / Thumb / sjljehprepare-lower-vector.ll
blobcfcc322403a9b3eb8744c94b1933c8095e82cec6
1 ; RUN: llc -mtriple=thumbv7-apple-ios < %s
2 ; SjLjEHPrepare shouldn't crash when lowering vectors.
4 target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32-S32"
5 target triple = "thumbv7-apple-ios"
7 define ptr @foo(<4 x i32> %c) personality ptr @baz {
8 entry:
9   invoke void @bar ()
10     to label %unreachable unwind label %handler
12 unreachable:
13   unreachable
15 handler:
16   %tmp = landingpad { ptr, i32 }
17   cleanup
18   resume { ptr, i32 } undef
21 declare void @bar()
22 declare i32 @baz(...)