llvm-for-llvmta/test/CodeGen/Hexagon/trap-unreachable.ll
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

11 lines
210 B
LLVM

; 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 }