Files
clang-p2996/llvm/test/CodeGen/SystemZ/mnop-mcount-02.ll
Jonas Paulsson 6e504d7706 [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

llvm-svn: 372950
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" }