[llvm] 4abe484 - [RISCV][NFC] Add sched for some instructions in Zb extension
Ben Shi via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 20 17:58:37 PST 2022
Author: Lian Wang
Date: 2022-02-21T09:58:08+08:00
New Revision: 4abe484525a964dc3afb06845de22d3a1bc8a049
URL: https://github.com/llvm/llvm-project/commit/4abe484525a964dc3afb06845de22d3a1bc8a049
DIFF: https://github.com/llvm/llvm-project/commit/4abe484525a964dc3afb06845de22d3a1bc8a049.diff
LOG: [RISCV][NFC] Add sched for some instructions in Zb extension
Add sched to brev8, zip and unzip instruction.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D120009
Added:
Modified:
llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfoZb.td b/llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
index 3d93b41320aec..6d183a3a2e727 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
@@ -598,11 +598,14 @@ def ORC_B : RVBUnary<0b0010100, 0b00111, 0b101, OPC_OP_IMM, "orc.b">,
} // Predicates = [HasStdExtZbbOrZbp]
let Predicates = [HasStdExtZbpOrZbkb] in
-def BREV8 : RVBUnary<0b0110100, 0b00111, 0b101, OPC_OP_IMM, "brev8">;
+def BREV8 : RVBUnary<0b0110100, 0b00111, 0b101, OPC_OP_IMM, "brev8">,
+ Sched<[]>;
let Predicates = [HasStdExtZbpOrZbkb, IsRV32] in {
-def ZIP_RV32 : RVBUnary<0b0000100, 0b01111, 0b001, OPC_OP_IMM, "zip">;
-def UNZIP_RV32 : RVBUnary<0b0000100, 0b01111, 0b101, OPC_OP_IMM, "unzip">;
+def ZIP_RV32 : RVBUnary<0b0000100, 0b01111, 0b001, OPC_OP_IMM, "zip">,
+ Sched<[]>;
+def UNZIP_RV32 : RVBUnary<0b0000100, 0b01111, 0b101, OPC_OP_IMM, "unzip">,
+ Sched<[]>;
} // Predicates = [HasStdExtZbpOrZbkb, IsRV32]
More information about the llvm-commits
mailing list