This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE2p1] Add SVE2.1 fclamp intrinsic
ClosedPublic

Authored by david-arm on Jan 17 2023, 8:31 AM.

Details

Summary

Adds an intrinsic for the following instruction:

  • fclamp

Diff Detail

Event Timeline

david-arm created this revision.Jan 17 2023, 8:31 AM
david-arm requested review of this revision.Jan 17 2023, 8:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 17 2023, 8:31 AM
kmclaughlin added inline comments.Jan 23 2023, 3:07 AM
llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
7

I think this should be f16? Similarly, the tests below use i32 and i64 in the names.

david-arm updated this revision to Diff 491284.Jan 23 2023, 3:33 AM
  • Fixed the silly test names
david-arm marked an inline comment as done.Jan 23 2023, 3:33 AM
david-arm added inline comments.
llvm/test/CodeGen/AArch64/sve2p1-intrinsics-fclamp.ll
7

Doh! :face_palm

kmclaughlin accepted this revision.Jan 23 2023, 3:36 AM
This revision is now accepted and ready to land.Jan 23 2023, 3:36 AM
This revision was automatically updated to reflect the committed changes.
david-arm marked an inline comment as done.