[PATCH] D148686: [RISCV] Add scheduling for Zfa instructions

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 19:11:40 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoZfa.td:89
+            (ins loadfpimm:$imm), "fli.s", "$rd, $imm">,
+            Sched<[WriteFMovI32ToF32]>;
 
----------------
I'd add a new class for FLI. It's not really a move from integer to FP. WriteFMovI32ToF32 is used for moving a GPR to an FPR which is pretty different than FLI.


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

https://reviews.llvm.org/D148686



More information about the llvm-commits mailing list