]> granicus.if.org Git - llvm/commit
Reland "[ARM] push LR before __gnu_mcount_nc"
authorJian Cai <caij2003@gmail.com>
Fri, 16 Aug 2019 23:30:16 +0000 (23:30 +0000)
committerJian Cai <caij2003@gmail.com>
Fri, 16 Aug 2019 23:30:16 +0000 (23:30 +0000)
commit78b6080e9928e6a5aff40be539342d20bc906686
treeb7184b3339ed2cc2a088a92375933e3caaca2fc6
parentead85efff9571e9d9ac393cc6c08c3f75641e354
Reland "[ARM] push LR before __gnu_mcount_nc"

This relands r369147 with fixes to unit tests.

https://reviews.llvm.org/D65019

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369173 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsARM.td
lib/Target/ARM/ARMExpandPseudoInsts.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb.td
lib/Transforms/Utils/EntryExitInstrumenter.cpp
test/CodeGen/ARM/gnu_mcount_nc.ll [new file with mode: 0644]
test/Transforms/EntryExitInstrumenter/mcount.ll