diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-12-10 10:10:05 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-12-10 10:10:05 -0500 |
commit | 396d18aeb6cb4409ed71ff4c331748ce1c530f33 (patch) | |
tree | 4f952ec90098ef0e3d72a877f76a3055ec2506a4 /lldb/source/Commands/CommandObjectGUI.cpp | |
parent | a0c558ee4cc0f8cd1d30edac5f4fbdedb18eff21 (diff) | |
download | llvm-396d18aeb6cb4409ed71ff4c331748ce1c530f33.zip llvm-396d18aeb6cb4409ed71ff4c331748ce1c530f33.tar.gz llvm-396d18aeb6cb4409ed71ff4c331748ce1c530f33.tar.bz2 |
[InstCombine] replace shuffle's insertelement operand if inserted scalar is not demanded
This pattern is noted as a regression from:
D70246
...where we removed an over-aggressive shuffle simplification.
SimplifyDemandedVectorElts fails to catch this case when the insert has multiple uses,
so I'm proposing to pattern match the minimal sequence directly. This fold does not
conflict with any of our current shuffle undef/poison semantics.
Differential Revision: https://reviews.llvm.org/D71220
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions