================
@@ -2453,6 +2458,19 @@ let append Predicates = [IsRV32] in {
(BuildGPRPair (REV_RV32 (EXTRACT_SUBREG GPRPair:$rs,
sub_gpr_even)),
(REV_RV32 (EXTRACT_SUBREG GPRPair:$rs,
sub_gpr_odd))))>;
+ // Element reverse (prev): swap the two halves and reverse within each.
+ def : Pat<(v8i8 (vector_reverse (v8i8 GPRPair:$rs))),
----------------
topperc wrote:
We should really be splitting this during lowering.
https://github.com/llvm/llvm-project/pull/207575
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits