This is an archive of the discontinued LLVM Phabricator instance.

[SVE] Add intrinsics for floating-point operations that explicitly undefine the result for inactive lanes.
ClosedPublic

Authored by paulwalker-arm on Feb 10 2023, 10:18 AM.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald Transcript
paulwalker-arm requested review of this revision.Feb 10 2023, 10:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 10 2023, 10:18 AM
paulwalker-arm added inline comments.
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
364

I contemplated lowering this and the following intrinsics to an idiom the PatFrags can already match but because there's no combines to optimise AArch64fma_p I figured I keep the operation as a single op and match the intrinsic directly. When combines are in place seems like a better point to split the operations into their constituent parts. That said, I'm happy to be told otherwise.

Matt added a subscriber: Matt.Feb 10 2023, 9:44 PM

Remove bogus intrinsic declarations from ll test.

sdesmalen accepted this revision.Feb 15 2023, 2:12 PM
This revision is now accepted and ready to land.Feb 15 2023, 2:12 PM
This revision was landed with ongoing or failed builds.Feb 17 2023, 6:23 AM
This revision was automatically updated to reflect the committed changes.