summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorMikhail Maltsev <mikhail.maltsev@arm.com>2019-10-16 10:40:57 +0000
committerMikhail Maltsev <mikhail.maltsev@arm.com>2019-10-16 10:40:57 +0000
commit95b5d459a0eb18d3a563f8ef84489635d85cdecd (patch)
tree7025246f8e054170f29b0fe8fbe448ac3eb2dae2 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
parentcfee2efc57b27ce7eed932528e219a99f934d3ca (diff)
downloadbcm5719-llvm-95b5d459a0eb18d3a563f8ef84489635d85cdecd.tar.gz
bcm5719-llvm-95b5d459a0eb18d3a563f8ef84489635d85cdecd.zip
[ARM] Add a register class for GPR pairs without SP and use it. NFCI
Summary: Currently Thumb2InstrInfo.cpp uses a register class which is auto-generated by tablegen. Such approach is fragile because auto-generated classes might change when other register classes are added. For example, before https://reviews.llvm.org/D62667 we were using GPRPair_with_gsub_1_in_rGPRRegClass, but had to change it to GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass because the former class stopped being generated (this did not change the functionality though). This patch adds a register class consisting of even-odd GPR register pairs from (R0, R1) to (R10, R11), which excludes (R12, SP) and uses it in Thumb2InstrInfo.cpp instead of GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass. Reviewers: ostannard, simon_tatham, dmgreen, efriedma Reviewed By: simon_tatham Subscribers: kristof.beyls, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69026 llvm-svn: 374990
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud