[llvm] a0ee2e6 - [RISCV] Fix sched class for MC layer version of vmsgt.vx.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 23:21:41 PDT 2023


Author: Craig Topper
Date: 2023-06-06T23:21:30-07:00
New Revision: a0ee2e6be6715327ea13c73d2e7e9267cf28e7bb

URL: https://github.com/llvm/llvm-project/commit/a0ee2e6be6715327ea13c73d2e7e9267cf28e7bb
DIFF: https://github.com/llvm/llvm-project/commit/a0ee2e6be6715327ea13c73d2e7e9267cf28e7bb.diff

LOG: [RISCV] Fix sched class for MC layer version of vmsgt.vx.

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVInstrInfoV.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfoV.td b/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
index c7582275db0df..ed7e6472209d0 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
@@ -836,7 +836,7 @@ multiclass VCMP_IV_V_X_I<string opcodestr, bits<6> funct6> {
 
 multiclass VCMP_IV_X_I<string opcodestr, bits<6> funct6> {
   def X  : VALUVX<funct6, OPIVX, opcodestr # ".vx">,
-           Sched<[WriteVICmpV_WorstCase, ReadVICmpV_WorstCase,
+           Sched<[WriteVICmpX_WorstCase, ReadVICmpV_WorstCase,
                   ReadVICmpX_WorstCase, ReadVMask]>;
   def I  : VALUVI<funct6, opcodestr # ".vi", simm5>,
            Sched<[WriteVICmpI_WorstCase, ReadVICmpV_WorstCase,


        


More information about the llvm-commits mailing list