mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
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
12 lines
403 B
LLVM
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" }
|