[PATCH] D145551: [SVE] Add patterns for shift intrinsics with FalseLanesZero mode

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 05:55:59 PST 2023


paulwalker-arm added inline comments.


================
Comment at: llvm/lib/Target/AArch64/SVEInstrFormats.td:5882
+
+  def : SVE_2_Op_Imm_Pat_Zero<nxv16i8, op, nxv16i1, i32, SVEShiftImmL8, !cast<Pseudo>(NAME # _ZERO_B)>;
+  def : SVE_2_Op_Imm_Pat_Zero<nxv8i16, op, nxv8i1,  i32, SVEShiftImmL16, !cast<Pseudo>(NAME # _ZERO_H)>;
----------------
These operand types (plus the tvecshiftL ones above) are specific to left shifts.  You might want to take inspiration from `sve_int_shift_pred_bhsd`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145551/new/

https://reviews.llvm.org/D145551



More information about the llvm-commits mailing list