[PATCH] D139391: [RISCV] Codegen support for Zfhmin.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 17:45:37 PST 2022


craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:286
+    if (!STI.hasStdExtZfh() && STI.hasStdExtZfhmin()) {
+      // Zfhmin subset doesn't have FSGNJ_H, replaces FSGNJ_H with FFSGNJ_S.
+      const TargetRegisterInfo *TRI = STI.getRegisterInfo();
----------------
FFSGNJ_S -> FSGNJ_S


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139391/new/

https://reviews.llvm.org/D139391



More information about the llvm-commits mailing list