[PATCH] D156895: [RISCV] Expand test coverage of bf16 operations with Zfbfmin and fix gaps

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 07:10:26 PDT 2023


asb created this revision.
asb added reviewers: craig.topper, reames, joshua-arch1.
Herald added subscribers: jobnoorman, luke, wingo, pmatos, VincentWu, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
asb requested review of this revision.
Herald added subscribers: wangpc, eopXD, MaskRay.
Herald added a project: LLVM.

This doesn't bring us to parity with the test/CodeGen/RISCV/half-* test cases, it simply picks off an initial set that can be supported especially easy. In order to make the review more manageable, I'll follow up with other cases.

      

There is zero innovation in the test cases - they simply take the existing half/float cases and replace f16->bf16 and half->bfloat.


https://reviews.llvm.org/D156895

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/bfloat-arith.ll
  llvm/test/CodeGen/RISCV/bfloat-br-fcmp.ll
  llvm/test/CodeGen/RISCV/bfloat-fcmp.ll
  llvm/test/CodeGen/RISCV/bfloat-frem.ll
  llvm/test/CodeGen/RISCV/bfloat-imm.ll
  llvm/test/CodeGen/RISCV/bfloat-isnan.ll
  llvm/test/CodeGen/RISCV/bfloat-mem.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156895.546452.patch
Type: text/x-patch
Size: 56082 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230802/95a91083/attachment.bin>


More information about the llvm-commits mailing list