[PATCH] D117954: [RISCV] Add DAG combines to transform ADD_VL/SUB_VL into widening add/sub.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 27 09:44:05 PST 2022
craig.topper added a comment.
In D117954#3275106 <https://reviews.llvm.org/D117954#3275106>, @rogfer01 wrote:
> Just to confirm, this is not fixed vector specific, is it?
>
> If this is the case could you add some tests for those?
I think we only use ADD_VL and SUB_VL for fixed vectors, and VP intrinsics today. And we use VZEXT_VL and VSEXT_VL for fixed and scalable vectors, but we don't have VP intrinsics for them yet.
So I think this code is fixed vector restricted right now because only fixed vectors use both ADD_VL/SUB_VL and VZEXT_VL/VSEXT_VL. Does that sound right, @frasercrmck ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117954/new/
https://reviews.llvm.org/D117954
More information about the llvm-commits
mailing list