[PATCH] D122212: [RISCV] Add alias to pack/packw

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 07:00:12 PDT 2022


benshi001 added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZb.td:654
+let Predicates = [HasStdExtZbpOrZbkb, IsRV32] in {
+def : InstAlias<"zext.h $rd, $rs", (PACK GPR:$rd, GPR:$rs, X0), 0>;
+}
----------------
We need not such aliases, since there is real zext.h instruction.


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