This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Expand test coverage of bf16 operations with Zfbfmin and fix gaps
ClosedPublic

Authored by asb on Aug 2 2023, 7:10 AM.

Details

Summary

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.

Diff Detail

Event Timeline

asb created this revision.Aug 2 2023, 7:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 2 2023, 7:10 AM
asb requested review of this revision.Aug 2 2023, 7:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 2 2023, 7:10 AM
craig.topper added inline comments.Aug 2 2023, 10:28 AM
llvm/test/CodeGen/RISCV/bfloat-arith.ll
99

Missing CHECK lines

asb updated this revision to Diff 546572.Aug 2 2023, 12:22 PM

Fix issue with missing check lines for two functions (thanks Craig, good catch - now sure why update_llc_test_checks didn't give the usual error about a mismatch).

This revision is now accepted and ready to land.Aug 2 2023, 12:30 PM
This revision was landed with ongoing or failed builds.Aug 2 2023, 11:07 PM
This revision was automatically updated to reflect the committed changes.