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

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

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