bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Hexagon/trap-unreachable.ll

11 lines
210 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; 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 }