diff options
author | Abinav Puthan Purayil <abinav.puthanpurayil@amd.com> | 2021-11-26 16:31:37 +0530 |
---|---|---|
committer | Abinav Puthan Purayil <abinav.puthanpurayil@amd.com> | 2021-11-30 15:18:50 +0530 |
commit | bc5dbb0baee357649c3132254ca6766b5cd6f15b (patch) | |
tree | 2ce0067b689d204bfc21ce4ff9912bf1d2d0f773 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
parent | 5d602120c3a3c175f606d6ce599cfb60239d904c (diff) | |
download | llvm-bc5dbb0baee357649c3132254ca6766b5cd6f15b.zip llvm-bc5dbb0baee357649c3132254ca6766b5cd6f15b.tar.gz llvm-bc5dbb0baee357649c3132254ca6766b5cd6f15b.tar.bz2 |
[GlobalISel] Add matchers for constant splat.
This change exposes isBuildVectorConstantSplat() to the llvm namespace
and uses it to implement the constant splat versions of
m_SpecificICst().
CombinerHelper::matchOrShiftToFunnelShift() can now work with vector
types and CombinerHelper::matchMulOBy2()'s match for a constant splat is
simplified.
Differential Revision: https://reviews.llvm.org/D114625
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions