diff options
| author | Craig Topper <craig.topper@gmail.com> | 2016-11-25 16:48:05 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2016-11-25 16:48:05 +0000 |
| commit | 88071b37ab5f254144592f55d159df1823c5bb25 (patch) | |
| tree | bd4c62113025beb556d8126eecd910762fdc0657 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptScriptGroup.h | |
| parent | f04777527e53d148d972c1198bc034ac4ce8f955 (diff) | |
| download | bcm5719-llvm-88071b37ab5f254144592f55d159df1823c5bb25.tar.gz bcm5719-llvm-88071b37ab5f254144592f55d159df1823c5bb25.zip | |
[AVX-512] Add support for changing VSHUFF64x2 to VSHUFF32x4 when its feeding a vselect with 32-bit element size.
Summary:
Shuffle lowering may have widened the element size of a i32 shuffle to i64 before selecting X86ISD::SHUF128. If this shuffle was used by a vselect this can prevent us from selecting masked operations.
This patch detects this and changes the element size to match the vselect.
I don't handle changing integer to floating point or vice versa as its not clear if its better to push such a bitcast to the inputs of the shuffle or to the user of the vselect. So I'm ignoring that case for now.
Reviewers: delena, zvi, RKSimon
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D27087
llvm-svn: 287939
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptScriptGroup.h')
0 files changed, 0 insertions, 0 deletions

