diff options
author | Evandro Menezes <e.menezes@samsung.com> | 2018-03-05 17:02:47 +0000 |
---|---|---|
committer | Evandro Menezes <e.menezes@samsung.com> | 2018-03-05 17:02:47 +0000 |
commit | cd855f70c5230a79d0b91cbbf6fb959572e67c50 (patch) | |
tree | e760fa88bff1e24b060a280861294b0e6a18b161 /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py | |
parent | 3402e876ef1112d9d97d5e6f0f9dab9f05b168b0 (diff) | |
download | bcm5719-llvm-cd855f70c5230a79d0b91cbbf6fb959572e67c50.tar.gz bcm5719-llvm-cd855f70c5230a79d0b91cbbf6fb959572e67c50.zip |
[AArch64] Improve code generation of constant vectors
Use the whole gammut of constant immediates available to set up a vector.
Instead of using, for example, `mov w0, #0xffff; dup v0.4s, w0`, which
transfers between register files, use the more efficient `movi v0.4s, #-1`
instead. Not limited to just a few values, but any immediate value that can
be encoded by all the variants of `FMOV`, `MOVI`, `MVNI`, thus eliminating
the need to there be patterns to optimize special cases.
Differential revision: https://reviews.llvm.org/D42133
llvm-svn: 326718
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions