[PATCH] D115555: [RISCV] Use AdjustInstrPostInstrSelection to insert a FRM dependency for scalar FP instructions with dynamic rounding mode.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 10 15:33:41 PST 2021


craig.topper updated this revision to Diff 393607.
craig.topper added a comment.

Rename funct3 in the underlying tablegen classes to frm so that we can call
it frm in the lookup. This is what I wanted to do all along, but failed to
realize that FP was using its own *Frm format class.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115555

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/lib/Target/RISCV/RISCVInstrFormats.td
  llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfo.h
  llvm/lib/Target/RISCV/RISCVInstrInfoF.td
  llvm/test/CodeGen/RISCV/frm-dependency.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115555.393607.patch
Type: text/x-patch
Size: 10738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211210/1dfb7288/attachment.bin>


More information about the llvm-commits mailing list