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

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

define void @fred() #0 {
  unreachable
}

attributes #0 = { nounwind }
OpenPOWER on IntegriCloud