summaryrefslogtreecommitdiffstats
path: root/llvm/test/BugPoint/func-attrs.ll
blob: 3941e73c217c83b882c8a06f543518364ea2824c (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" }
attributes #0 = { noinline "bugpoint-crash" "no-frame-pointer-elim-non-leaf" }
OpenPOWER on IntegriCloud