Files
Jonas Paulsson c0a66ac414 [SystemZ] Recognize mnop-mcount in backend
With -pg -mfentry -mnop-mcount, a nop is emitted instead of the call to
fentry.

Review: Ulrich Weigand
https://reviews.llvm.org/D67765

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372950 91177308-0d34-0410-b5e6-96231b3b80d8
2019-09-26 08:38:07 +00:00

12 lines
270 B
LLVM

; RUN: not llc %s -mtriple=s390x-linux-gnu -o - 2>&1 | FileCheck %s
;
; CHECK: LLVM ERROR: mnop-mcount only supported with fentry-call
define void @test1() #0 {
entry:
ret void
}
attributes #0 = { "instrument-function-entry-inlined"="mcount" "mnop-mcount"="true" }