llvm.org GIT mirror llvm / stable test / CodeGen / ARM / trap-unreachable.ll
stable

Tree @stable (Download .tar.gz)

trap-unreachable.ll @stableraw · history · blame

1
2
3
4
5
6
7
8
; RUN: llc -mtriple=thumbv7 -trap-unreachable < %s | FileCheck %s
; CHECK: .inst.n 0xdefe

define void @test() #0 {
  unreachable
}

attributes #0 = { nounwind }