This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SME]: Add streaming-compatible for FP rounding operations
ClosedPublic

Authored by hassnaa-arm on Nov 21 2022, 8:27 AM.

Details

Summary

1- To generate code compatible to streaming mode:

  • enable custom lowering for fcopysign, isd::fp_round, isd::fceil, isd::ffloor, isd::fnearbyint, isd::frint, isd::fround, isd::froundeven, isd::ftrunc.

2- Testing files:

  • fcopysign.ll
  • fp-rounding.ll

Diff Detail

Event Timeline

hassnaa-arm created this revision.Nov 21 2022, 8:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 21 2022, 8:27 AM
hassnaa-arm requested review of this revision.Nov 21 2022, 8:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 21 2022, 8:27 AM
david-arm accepted this revision.Nov 22 2022, 3:57 AM

LGTM! Thanks @hassnaa-arm. Before landing the patch I think it's worth adding a bit more in the title to say what this patch is doing. Perhaps something like "[AArch64][SME]: Generate streaming-compatible code for FP rounding operations"?

This revision is now accepted and ready to land.Nov 22 2022, 3:57 AM
This comment was removed by hassnaa-arm.
hassnaa-arm retitled this revision from [AArch64][SME]: Add streaming-compatible testing files. to [AArch64][SME]: Add streaming-compatible for FP rounding operations.Nov 22 2022, 4:21 AM
Matt added a subscriber: Matt.Nov 22 2022, 11:01 AM
hassnaa-arm edited the summary of this revision. (Show Details)Nov 23 2022, 4:10 AM