From ae6877836e8d631892ce455ca604f35ff880d4ae Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 2 Aug 2022 09:29:39 -0700 Subject: [PATCH] [RISCV] Add scheduler classes to PseudoVMV*R_V. I think these pseudos will exist when the post-RA scheduler runs so they should have sched classes. Reviewed By: monkchiang Differential Revision: https://reviews.llvm.org/D130945 --- llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td b/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td index 8bae021..a107109 100644 --- a/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td +++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td @@ -4324,10 +4324,14 @@ let Predicates = [HasVInstructions] in { // Pseudo Instructions for CodeGen //===----------------------------------------------------------------------===// let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in { - def PseudoVMV1R_V : VPseudo; - def PseudoVMV2R_V : VPseudo; - def PseudoVMV4R_V : VPseudo; - def PseudoVMV8R_V : VPseudo; + def PseudoVMV1R_V : VPseudo, + VMVRSched<1>; + def PseudoVMV2R_V : VPseudo, + VMVRSched<2>; + def PseudoVMV4R_V : VPseudo, + VMVRSched<4>; + def PseudoVMV8R_V : VPseudo, + VMVRSched<8>; } let hasSideEffects = 0, mayLoad = 0, mayStore = 0, isCodeGenOnly = 1 in { -- 2.7.4