[all-commits] [llvm/llvm-project] 92d71c: [RISCV] Use structured bindings in common RVV lowe...
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Thu Sep 22 08:51:42 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 92d71c615de100475b4eb1516b332ed3145a3d60
https://github.com/llvm/llvm-project/commit/92d71c615de100475b4eb1516b332ed3145a3d60
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2022-09-22 (Thu, 22 Sep 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Use structured bindings in common RVV lowering code
This patch uses structured bindings to simplify a couple of specific
cases when lowering RVV operations where we commonly declare two
SDValues and immediately 'tie' them to the mask and vector length.
There's also a couple places where we split vectors that structured
bindings make sense to use.
This patch tries to keep these sorts of changes minimal and to cases
where the returned types are commonly understood, rather than applying
this wholesale to the RISCV backend.
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D134442
More information about the All-commits
mailing list