[PATCH] D123972: [RISCV] Add isCommutable to FADD/FMUL/FMIN/FMAX/FEQ.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 18:49:40 PDT 2022


craig.topper created this revision.
craig.topper added reviewers: asb, jrtc27, luismarques.
Herald added subscribers: sunshaoce, VincentWu, luke957, StephenFan, vkmr, frasercrmck, evandro, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

We should also do FMA instructions, but need to investigate if it
does the right thing by default for 3 operands.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123972

Files:
  llvm/lib/Target/RISCV/RISCVInstrInfoD.td
  llvm/lib/Target/RISCV/RISCVInstrInfoF.td
  llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123972.423502.patch
Type: text/x-patch
Size: 7677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220419/17c0c828/attachment.bin>


More information about the llvm-commits mailing list