summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/recursion/main.cpp
diff options
context:
space:
mode:
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>2019-07-11 09:22:49 +0000
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>2019-07-11 09:22:49 +0000
commite3bb0a72b6ad2264f552d6e2769a4ce63bb46ed9 (patch)
tree6af74dce54a587a6c94926614b9941c20a120373 /lldb/packages/Python/lldbsuite/test/functionalities/recursion/main.cpp
parente6695821e592f95bffe1340b28be7bcfcce04284 (diff)
downloadbcm5719-llvm-e3bb0a72b6ad2264f552d6e2769a4ce63bb46ed9.tar.gz
bcm5719-llvm-e3bb0a72b6ad2264f552d6e2769a4ce63bb46ed9.zip
[MIPS GlobalISel] RegBankSelect for chains of ambiguous instructions
When one of the uses/defs of ambiguous instruction is also ambiguous visit it recursively and search its uses/defs for instruction with only one mapping available. When all instruction in a chain are ambiguous arbitrary mapping can be selected. For s64 operands in ambiguous chain fprb is selected since it results in less instructions then having to narrow scalar s64 to s32. For s32 both gprb and fprb result in same number of instructions and gprb is selected like a general purpose option. At the moment we always avoid cross register bank copies. TODO: Implement a model for costs calculations of different mappings on same instruction and cross bank copies. Allow cross bank copies when appropriate according to cost model. Differential Revision: https://reviews.llvm.org/D64485 llvm-svn: 365743
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/recursion/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud