diff options
author | Diana Picus <diana.picus@linaro.org> | 2019-01-14 12:04:08 +0000 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2019-01-14 12:04:08 +0000 |
commit | 8987d00653a15214c5e21691c139ea8304bc99e6 (patch) | |
tree | 1b28f69d68bf190bd1bac3377f66d3b08edc20ad /lldb/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py | |
parent | 3d42815cd85783a815263fd4c0166ddafe37cfd8 (diff) | |
download | bcm5719-llvm-8987d00653a15214c5e21691c139ea8304bc99e6.tar.gz bcm5719-llvm-8987d00653a15214c5e21691c139ea8304bc99e6.zip |
[ARM GlobalISel] Import MOVi32imm into GlobalISel
Make it possible for TableGen to produce code for selecting MOVi32imm.
This allows reasonably recent ARM targets to select a lot more constants
than before.
We achieve this by adding GISelPredicateCode to arm_i32imm. It's
impossible to use the exact same code for both DAGISel and GlobalISel,
since one uses "Subtarget->" and the other "STI." to refer to the
subtarget. Moreover, in GlobalISel we don't have ready access to the
MachineFunction, so we need to add a bit of code for obtaining it from
the instruction that we're selecting. This is also the reason why it
needs to remain a PatLeaf instead of the more specific IntImmLeaf.
llvm-svn: 351056
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py')
0 files changed, 0 insertions, 0 deletions