diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-04-05 13:32:17 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-04-05 13:32:17 +0000 |
commit | 50a8652785226b6ae9de0f51d2f2415268f42c50 (patch) | |
tree | a54cd2852cf8c304d9ae985a594546edc243908b /clang/unittests/Tooling/SourceCodeTest.cpp | |
parent | 2b2f35a4e94c9da147bd5a07f23c776fdf17881f (diff) | |
download | bcm5719-llvm-50a8652785226b6ae9de0f51d2f2415268f42c50.tar.gz bcm5719-llvm-50a8652785226b6ae9de0f51d2f2415268f42c50.zip |
[DAGCombiner][x86] scalarize splatted vector FP ops
There are a variety of vector patterns that may be profitably reduced to a
scalar op when scalar ops are performed using a subset (typically, the
first lane) of the vector register file.
For x86, this is true for float/double ops and element 0 because
insert/extract is just a sub-register rename.
Other targets should likely enable the hook in a similar way.
Differential Revision: https://reviews.llvm.org/D60150
llvm-svn: 357760
Diffstat (limited to 'clang/unittests/Tooling/SourceCodeTest.cpp')
0 files changed, 0 insertions, 0 deletions