[RISCV][NFC] Move VLDSX0Pred to RISCVInstrPredicates.td (#137938)
`VLDSX0Pred` is used for scheduling vector zero-stride load/store.
This commit is contained in:
parent
f7991aae5e
commit
aeb5a58d24
@ -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",
|
||||
|
||||
@ -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"]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user