[ARM] Promote helper function to SelectionDAG.
[oota-llvm.git] / test / CodeGen / ARM / ehabi-no-landingpad.ll
1 ; RUN: llc < %s -mtriple=armv7-unknown-linux-gnueabi | FileCheck %s
2
3 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32-S64"
4 target triple = "armv7-unknown-linux-gnueabi"
5
6 define void @_Z4testv() {
7 ; CHECK: _Z4testv
8 ; CHECK: .fnstart
9 ; CHECK: .size
10 ; CHECK-NOT: .handlerdata
11 ; CHECK: .fnend
12 entry:
13   call void @_Z15throw_exceptionv()
14   ret void
15 }
16
17 declare void @_Z15throw_exceptionv()