This is an archive of the discontinued LLVM Phabricator instance.

[X86][BF16] Lower FP_ROUND for vector types under AVX512BF16
ClosedPublic

Authored by pengfei on Aug 27 2023, 7:55 AM.

Diff Detail

Event Timeline

pengfei created this revision.Aug 27 2023, 7:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 27 2023, 7:55 AM
pengfei requested review of this revision.Aug 27 2023, 7:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 27 2023, 7:55 AM
RKSimon added inline comments.Aug 27 2023, 10:10 AM
llvm/lib/Target/X86/X86ISelLowering.cpp
2258

Do we have AVXNECONVERT test coverage for this?

pengfei updated this revision to Diff 553825.Aug 27 2023, 8:26 PM
pengfei marked an inline comment as done.

Added tests for AVXNECONVERT.

RKSimon accepted this revision.Aug 28 2023, 10:31 AM

LGTM - but if you can, please precommit the avxneconvert test coverage to bfloat.ll before the rest of this patch

This revision is now accepted and ready to land.Aug 28 2023, 10:31 AM
pengfei updated this revision to Diff 554151.Aug 28 2023, 8:36 PM

Fix RegClass problem for AVX-NE-CONVERT;
Add f16c to reduce the test diverge.

This revision was landed with ongoing or failed builds.Aug 28 2023, 11:13 PM
This revision was automatically updated to reflect the committed changes.