• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=thumbv7-apple-ios < %s
2; SjLjEHPrepare shouldn't crash when lowering vectors.
3
4target 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"
5target triple = "thumbv7-apple-ios"
6
7define i8* @foo(<4 x i32> %c) personality i8* bitcast (i32 (...)* @baz to i8*) {
8entry:
9  invoke void @bar ()
10    to label %unreachable unwind label %handler
11
12unreachable:
13  unreachable
14
15handler:
16  %tmp = landingpad { i8*, i32 }
17  cleanup
18  resume { i8*, i32 } undef
19}
20
21declare void @bar()
22declare i32 @baz(...)
23
24