diff options
author | Tomas Matheson <tomas.matheson@arm.com> | 2021-06-17 19:11:25 +0100 |
---|---|---|
committer | Tomas Matheson <tomas.matheson@arm.com> | 2021-06-19 17:00:45 +0100 |
commit | 18dbe6897857944653ee8f68dca8d63bc38aaff8 (patch) | |
tree | 2c4bb8a6d31d50fedfbd43b3109a4ee140e0cab8 /llvm/lib/Analysis/LazyCallGraph.cpp | |
parent | 9abaf5c359ca29fcdd4f42b72ae0a62f18626180 (diff) | |
download | llvm-18dbe6897857944653ee8f68dca8d63bc38aaff8.zip llvm-18dbe6897857944653ee8f68dca8d63bc38aaff8.tar.gz llvm-18dbe6897857944653ee8f68dca8d63bc38aaff8.tar.bz2 |
[ARM][NFC] Tidy up subtarget frame pointer routines
getFramePointerReg only depends on information in ARMSubtarget,
so move it in there so it can be accessed from more places.
Make use of ARMSubtarget::getFramePointerReg to remove duplicated code.
The main use of useR7AsFramePointer is getFramePointerReg, so inline it.
Differential Revision: https://reviews.llvm.org/D104476
Diffstat (limited to 'llvm/lib/Analysis/LazyCallGraph.cpp')
0 files changed, 0 insertions, 0 deletions