diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-05-11 11:20:15 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-05-11 11:47:27 -0700 |
commit | f499ec6b3d138e6b5643f5c848c38d61462e063b (patch) | |
tree | 7bebd756150d902d63da98f63357015c6138edb6 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 84db35594953a6f7aff7cbc007f1c5d2fd35b1a9 (diff) | |
download | llvm-f499ec6b3d138e6b5643f5c848c38d61462e063b.zip llvm-f499ec6b3d138e6b5643f5c848c38d61462e063b.tar.gz llvm-f499ec6b3d138e6b5643f5c848c38d61462e063b.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions