[RISCV][NFC] Move VLDSX0Pred to RISCVInstrPredicates.td (#137938)

`VLDSX0Pred` is used for scheduling vector zero-stride load/store.
This commit is contained in:
Pengcheng Wang 2025-05-12 12:05:50 +08:00 committed by GitHub
parent f7991aae5e
commit aeb5a58d24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -10,6 +10,10 @@
//
//===----------------------------------------------------------------------===//
// This predicate is true when the rs2 operand of vlse or vsse is x0, false
// otherwise.
def VLDSX0Pred : MCSchedPredicate<CheckRegOperand<3, X0>>;
// Returns true if this is the sext.w pattern, addiw rd, rs1, 0.
def isSEXT_W
: TIIPredicate<"isSEXT_W",

View File

@ -9,10 +9,6 @@
//===----------------------------------------------------------------------===//
/// Define scheduler resources associated with def operands.
// This predicate is true when the rs2 operand of vlse or vsse is x0, false
// otherwise.
def VLDSX0Pred : MCSchedPredicate<CheckRegOperand<3, X0>>;
defvar SchedMxList = ["MF8", "MF4", "MF2", "M1", "M2", "M4", "M8"];
// Used for widening and narrowing instructions as it doesn't contain M8.
defvar SchedMxListW = !listremove(SchedMxList, ["M8"]);