aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2023-09-19 14:10:52 -0700
committerGitHub <noreply@github.com>2023-09-19 14:10:52 -0700
commit86b32c4b55b51dec1abb15680e8566f36fb7dbd9 (patch)
tree74397868acb82af6619528c9a44ecf9a84bbd02f /llvm/docs/CommandGuide
parent98d5ab706e93b7a10eae4e0e3592cb11619715d6 (diff)
downloadllvm-86b32c4b55b51dec1abb15680e8566f36fb7dbd9.zip
llvm-86b32c4b55b51dec1abb15680e8566f36fb7dbd9.tar.gz
llvm-86b32c4b55b51dec1abb15680e8566f36fb7dbd9.tar.bz2
[RISCV] Match strided load via DAG combine (#66800)
This change matches a masked.stride.load from a mgather node whose index operand is a strided sequence. We can reuse the VID matching from build_vector lowering for this purpose. Note that this duplicates the matching done at IR by RISCVGatherScatterLowering.cpp. Now that we can widen gathers to a wider SEW, I don't see a good way to remove this duplication. The only obvious alternative is to move thw widening transform to IR, but that's a no-go as I want other DAGs to run first. I think we should just live with the duplication - particularly since the reuse is isSimpleVIDSequence means the duplication is somewhat minimal.
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions