[PATCH] D134701: [RISCV][ISel] Remove the commutative flag on SUB
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 26 22:01:13 PDT 2022
craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.
The vwsub intrinsic doesn't go through RISCVISD::VWSUB_VL/VWSUBU_VL. It's pattern matched separately in RISCVInstrInfoVPseudos.td
vscale splat is insertelement into element 0 followed by shufflevector with zeroinitializer for the mask.
LGTM
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134701/new/
https://reviews.llvm.org/D134701
More information about the llvm-commits
mailing list