aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Hexagon/trap-unreachable.ll
blob: 7051dda1432c3421b2d69105b54a09c0f04b32ac (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc -mtriple=hexagon -trap-unreachable < %s | FileCheck %s

; Trap is implemented via a misaligned load.
; CHECK: memd(##3134984174)

define void @fred() #0 {
  unreachable
}

attributes #0 = { nounwind }