• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc %s -o - | FileCheck %s
2target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
3target triple = "x86_64-unknown-linux-gnu"
4
5; CHECK-LABEL: bar:
6; CHECK: ud2
7; CHECK-NEXT: retq
8define void @bar() {
9entry:
10  call void @llvm.trap()
11  ret void
12}
13
14; Function Attrs: noreturn nounwind
15declare void @llvm.trap()
16