[all-commits] [llvm/llvm-project] f499ec: [RISCV] Add caching to the gather/scatter to strid...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed May 11 11:47:49 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f499ec6b3d138e6b5643f5c848c38d61462e063b
https://github.com/llvm/llvm-project/commit/f499ec6b3d138e6b5643f5c848c38d61462e063b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-05-11 (Wed, 11 May 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vector-strided-load-store.ll
Log Message:
-----------
[RISCV] Add caching to the gather/scatter to strided load/store conversion.
If we have multiple gather/scatter instructions using the same the
same strided address we would scalarize it multiple times. I guess
a later pass cleans this up, but I don't know if that's guaranteed.
This patch adds a cache to remember the scalarization we already
created for a previous gather/scatter.
Reviewed By: frasercrmck
Differential Revision: https://reviews.llvm.org/D125326
More information about the All-commits
mailing list