diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-06-14 23:52:53 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-06-14 23:52:53 +0300 |
commit | 585e65d3307f5f081b32b21421f2a0b84eccd1b5 (patch) | |
tree | 53616d75ef3bc451896faa94f7e09a675265a3ee /llvm/lib/Support/Signposts.cpp | |
parent | 00dbf8c83218829633b9f2ec1ee94a1f3b8dd29c (diff) | |
download | llvm-585e65d3307f5f081b32b21421f2a0b84eccd1b5.zip llvm-585e65d3307f5f081b32b21421f2a0b84eccd1b5.tar.gz llvm-585e65d3307f5f081b32b21421f2a0b84eccd1b5.tar.bz2 |
[TLI] SimplifyDemandedVectorElts(): handle SCALAR_TO_VECTOR(EXTRACT_VECTOR_ELT(?, 0))
Iff we have `SCALAR_TO_VECTOR` (and we demand it's only defined 0'th element),
and said scalar was produced by `EXTRACT_VECTOR_ELT` from the 0'th element
of some vector, then we can just continue traversal into said source vector.
This comes up in X86 vector uniform shift lowering.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D104250
Diffstat (limited to 'llvm/lib/Support/Signposts.cpp')
0 files changed, 0 insertions, 0 deletions