diff options
author | Philip Reames <preames@rivosinc.com> | 2023-05-12 12:14:51 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2023-05-12 12:21:33 -0700 |
commit | 715a04309069aaa87ee4952918fde339492e4295 (patch) | |
tree | 09736c38f254d7ef7bae0f1b8f9289add28a1b52 /llvm/lib/Support/StringRef.cpp | |
parent | 5d57a9fd2b9b4905b5845f6df6eb09bf08c8a4c6 (diff) | |
download | llvm-715a04309069aaa87ee4952918fde339492e4295.zip llvm-715a04309069aaa87ee4952918fde339492e4295.tar.gz llvm-715a04309069aaa87ee4952918fde339492e4295.tar.bz2 |
[RISCVGatherScatterLowering] Support shl in non-recursive matching
We can apply the same logic as for multiply since a left shift is just a multiply by a power of two. Note that since shl is not commutative, we do need to be careful to match sure that the splat is the RHS of the instruction.
Differential Revision: https://reviews.llvm.org/D150471
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions