Files
archived-llvm/test/BugPoint/func-attrs.ll
Petr Hosek b5581c4d66 [Bugpoint] Only run plugins tests if plugins are enabled
This is a followup to r360991 which applies the same logic to LLVM.

Differential Revision: https://reviews.llvm.org/D62050

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360993 91177308-0d34-0410-b5e6-96231b3b80d8
2019-05-17 06:41:04 +00:00

12 lines
403 B
LLVM

; 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: plugins
; 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" }