Skip to content

Commit af2cd94

Browse files
Lian Wangbenshi001
authored andcommitted
[RISCV][NFC] Remove useless code
Reviewed By: craig.topper, asb Differential Revision: https://reviews.llvm.org/D119317
1 parent 8aa1220 commit af2cd94

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoZb.td

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -521,9 +521,6 @@ def MAXU : ALU_rr<0b0000101, 0b111, "maxu">,
521521
Sched<[WriteIALU, ReadIALU, ReadIALU]>;
522522
} // Predicates = [HasStdExtZbb]
523523

524-
let Predicates = [HasStdExtZbp] in {
525-
} // Predicates = [HasStdExtZbp]
526-
527524
let Predicates = [HasStdExtZbe] in {
528525
// NOTE: These mnemonics are from the 0.94 spec. There is a name conflict with
529526
// bext in the 0.93 spec.
@@ -606,7 +603,7 @@ def BREV8 : RVBUnary<0b0110100, 0b00111, 0b101, OPC_OP_IMM, "brev8">;
606603
let Predicates = [HasStdExtZbpOrZbkb, IsRV32] in {
607604
def ZIP_RV32 : RVBUnary<0b0000100, 0b01111, 0b001, OPC_OP_IMM, "zip">;
608605
def UNZIP_RV32 : RVBUnary<0b0000100, 0b01111, 0b101, OPC_OP_IMM, "unzip">;
609-
} // Predicates = [HasStdExtZbkb, IsRV32]
606+
} // Predicates = [HasStdExtZbpOrZbkb, IsRV32]
610607

611608

612609
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)