summaryrefslogtreecommitdiffstats
path: root/llvm/test/BugPoint/func-attrs-keyval.ll
blob: 830d0964cde1a3523dcc6b8bea852268fb59b0f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashfuncattr -silence-passes
; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
; REQUIRES: loadable_module

; CHECK: f() #[[ATTRS:[0-9]+]]
define void @f() #0 {
  ret void
}

; CHECK: attributes #[[ATTRS]] = { "bugpoint-crash"="sure" }
attributes #0 = { "bugpoint-crash"="sure" noreturn "no-frame-pointer-elim-non-leaf" }
OpenPOWER on IntegriCloud