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