[PATCH] D122212: [RISCV] Add alias to pack/packw
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 22 09:37:13 PDT 2022
craig.topper added a comment.
The correct fix is to change the predicate here to include Zbkb
let Predicates = [HasStdExtZbbOrZbp, IsRV32] in {
def ZEXT_H_RV32 : RVBUnary<0b0000100, 0b00000, 0b100, OPC_OP, "zext.h">,
Sched<[WriteIALU, ReadIALU]>;
} // Predicates = [HasStdExtZbbOrZbp, IsRV32]
let Predicates = [HasStdExtZbbOrZbp, IsRV64] in {
def ZEXT_H_RV64 : RVBUnary<0b0000100, 0b00000, 0b100, OPC_OP_32, "zext.h">,
Sched<[WriteIALU, ReadIALU]>;
} // Predicates = [HasStdExtZbbOrZbp, IsRV64]
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122212/new/
https://reviews.llvm.org/D122212
More information about the llvm-commits
mailing list