summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/eh_return-r30.ll
blob: 36063fd1a2a231c119c079351aa41685d2df044a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; RUN: llc -march=hexagon -O2 < %s
; REQUIRES: asserts

target triple = "hexagon"

; Function Attrs: noreturn nounwind
define void @f0(i32 %a0, i8* %a1) #0 {
b0:
  tail call void @llvm.eh.return.i32(i32 %a0, i8* %a1)
  unreachable
}

; Function Attrs: nounwind
declare void @llvm.eh.return.i32(i32, i8*) #1

attributes #0 = { noreturn nounwind }
attributes #1 = { nounwind }
OpenPOWER on IntegriCloud