brintos

brintos / llvm-project-archived public Read only

0
0
Text · 560 B · cfcc322 Raw
24 lines · plain
1; RUN: llc -mtriple=thumbv7-apple-ios < %s2; 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 ptr @foo(<4 x i32> %c) personality ptr @baz {8entry:9  invoke void @bar ()10    to label %unreachable unwind label %handler11 12unreachable:13  unreachable14 15handler:16  %tmp = landingpad { ptr, i32 }17  cleanup18  resume { ptr, i32 } undef19}20 21declare void @bar()22declare i32 @baz(...)23 24