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