diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2017-03-10 13:27:14 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2017-03-10 13:27:14 +0000 |
commit | 7090d145e8eb0164e5862321e76ecfc1736dd741 (patch) | |
tree | 68b371c8ee79074476a06274e03ee4b0af3eb8d8 /llvm/lib/Target/X86/X86ISelLowering.cpp | |
parent | 94fb0bb65fcb998e68b5d8c0714cfa9e303dfae2 (diff) | |
download | bcm5719-llvm-7090d145e8eb0164e5862321e76ecfc1736dd741.tar.gz bcm5719-llvm-7090d145e8eb0164e5862321e76ecfc1736dd741.zip |
[mips][msa] Accept more values for constant splats
This patches teaches the MIPS backend to accept more values for constant
splats. Previously, only 10 bit signed immediates or values that could be
loaded using an ldi.[bhwd] instruction would be acceptted. This patch relaxes
that constraint so that any constant value that be splatted is accepted.
As a result, the constant pool is used less for vector operations, and the
suite of bit manipulation instructions b(clr|set|neg)i can now be used with
the full range of their immediate operand.
Reviewers: slthakur
Differential Revision: https://reviews.llvm.org/D30640
llvm-svn: 297457
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions