view test/CodeGen/Hexagon/trap-unreachable.ll @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents
children
line wrap: on
line source

; RUN: llc -march=hexagon -hexagon-trap-unreachable < %s | FileCheck %s
; CHECK: call abort

define void @fred() #0 {
  unreachable
}

attributes #0 = { nounwind }