[llvm] af2cd94 - [RISCV][NFC] Remove useless code
Ben Shi via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 9 03:17:38 PST 2022
Author: Lian Wang
Date: 2022-02-09T19:17:25+08:00
New Revision: af2cd945559aa2852d7cc82dc4f011dd591bdda5
URL: https://github.com/llvm/llvm-project/commit/af2cd945559aa2852d7cc82dc4f011dd591bdda5
DIFF: https://github.com/llvm/llvm-project/commit/af2cd945559aa2852d7cc82dc4f011dd591bdda5.diff
LOG: [RISCV][NFC] Remove useless code
Reviewed By: craig.topper, asb
Differential Revision: https://reviews.llvm.org/D119317
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 07884d35f63c..7df3aabe041e 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
@@ -521,9 +521,6 @@ def MAXU : ALU_rr<0b0000101, 0b111, "maxu">,
Sched<[WriteIALU, ReadIALU, ReadIALU]>;
} // Predicates = [HasStdExtZbb]
-let Predicates = [HasStdExtZbp] in {
-} // Predicates = [HasStdExtZbp]
-
let Predicates = [HasStdExtZbe] in {
// NOTE: These mnemonics are from the 0.94 spec. There is a name conflict with
// bext in the 0.93 spec.
@@ -606,7 +603,7 @@ def BREV8 : RVBUnary<0b0110100, 0b00111, 0b101, OPC_OP_IMM, "brev8">;
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">;
-} // Predicates = [HasStdExtZbkb, IsRV32]
+} // Predicates = [HasStdExtZbpOrZbkb, IsRV32]
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list