diff options
author | Fraser Cormack <fraser@codeplay.com> | 2021-03-01 15:57:42 +0000 |
---|---|---|
committer | Fraser Cormack <fraser@codeplay.com> | 2021-03-02 11:13:59 +0000 |
commit | de2b70010aed514acfb919f0ad997ae785fedfe0 (patch) | |
tree | 212b7be192a57e733ddee9091ea4bc1ec63dc2ae /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e35929e02664090667b0f9b8f4633fa005636f68 (diff) | |
download | llvm-de2b70010aed514acfb919f0ad997ae785fedfe0.zip llvm-de2b70010aed514acfb919f0ad997ae785fedfe0.tar.gz llvm-de2b70010aed514acfb919f0ad997ae785fedfe0.tar.bz2 |
[RISCV] Lower CONCAT_VECTORS to INSERT_SUBVECTOR nodes
The default expansion of CONCAT_VECTORS goes through the stack. This
patch avoids that penalty by custom-lowering CONCAT_VECTORS to a series
of INSERT_SUBVECTOR nodes. Futher optimizations are possible, but this
is a good start.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D97692
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions