[PATCH] D152996: [RISCV][POC] Model frm control for vfadd

Yueh-Ting (eop) Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 15 09:45:51 PDT 2023


eopXD added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInsertReadWriteCSR.cpp:105
+
+        BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(RISCV::WriteFRMImm))
+            .addImm(FRMImm);
----------------
craig.topper wrote:
> Don't we need to restore the original FRM value after the vector instruction?
Yes, will fix this in the next diff.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152996



More information about the cfe-commits mailing list