aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-02-10 09:40:28 -0800
committerCraig Topper <craig.topper@sifive.com>2021-02-10 10:01:56 -0800
commit0c254b4a69db068a8813aa0e19e0ddb2226c3221 (patch)
tree8b5c0e86480b3b9d4e9268d044bbe89d23e6a3d6 /clang/lib/Frontend/TestModuleFileExtension.cpp
parent2193e8be3efa5eea452c6c5bbc2f6393c8f10e62 (diff)
downloadllvm-0c254b4a69db068a8813aa0e19e0ddb2226c3221.zip
llvm-0c254b4a69db068a8813aa0e19e0ddb2226c3221.tar.gz
llvm-0c254b4a69db068a8813aa0e19e0ddb2226c3221.tar.bz2
[RISCV] Add support for selecting vrgather.vx/vi for fixed vector splat shuffles.
The test cases extract a fixed element from a vector and splat it into a vector. This gets DAG combined into a splat shuffle. I've used some very wide vectors in the test to make sure we have at least a couple tests where the element doesn't fit into the uimm5 immediate of vrgather.vi so we fall back to vrgather.vx. Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D96186
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions