diff options
author | Fraser Cormack <fraser@codeplay.com> | 2021-02-09 12:09:10 +0000 |
---|---|---|
committer | Fraser Cormack <fraser@codeplay.com> | 2021-02-10 10:58:40 +0000 |
commit | a3c74d6d53fcaf53ac0969dcc7a9ab6dd5c9a9f5 (patch) | |
tree | 07e32813dc58b382baa95d5d8e9eaffa6a2639ea /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 013613964fd9b8125c9ea6671ae31d215ad853e2 (diff) | |
download | llvm-a3c74d6d53fcaf53ac0969dcc7a9ab6dd5c9a9f5.zip llvm-a3c74d6d53fcaf53ac0969dcc7a9ab6dd5c9a9f5.tar.gz llvm-a3c74d6d53fcaf53ac0969dcc7a9ab6dd5c9a9f5.tar.bz2 |
[RISCV] Add support for selecting vid.v from build_vector
This patch optimizes a build_vector "index sequence" and lowers it to
the existing custom RISCVISD::VID node. This pattern is common in
autovectorized code.
The custom node was updated to allow it to be used by both scalable and
fixed-length vectors, thus avoiding pattern duplication.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D96332
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions