]> granicus.if.org Git - llvm/commit
[SystemZ] Recognize mnop-mcount in backend
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Thu, 26 Sep 2019 08:38:07 +0000 (08:38 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Thu, 26 Sep 2019 08:38:07 +0000 (08:38 +0000)
commitc0a66ac4141f77765d5fc800b897c4676f79026f
tree200d5b93512552b1c01f6723652f8c73b49045dc
parentf57d88ced7d08e7134066d59c045ab99278c3c70
[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
lib/Target/SystemZ/SystemZAsmPrinter.cpp
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
test/CodeGen/SystemZ/mnop-mcount-01.ll [new file with mode: 0644]
test/CodeGen/SystemZ/mnop-mcount-02.ll [new file with mode: 0644]