This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Use custom lowering for fp16 vector copysign.
ClosedPublic

Authored by fhahn on Jul 1 2021, 5:56 AM.

Details

Summary

The custom copysign lowering already supports fp16. Use it.

Diff Detail

Event Timeline

fhahn created this revision.Jul 1 2021, 5:56 AM
fhahn requested review of this revision.Jul 1 2021, 5:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 1 2021, 5:56 AM
dmgreen accepted this revision.Jul 1 2021, 6:45 AM

Sounds good to me.

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
1401–1403

Whitespace :)

This revision is now accepted and ready to land.Jul 1 2021, 6:45 AM
fhahn added inline comments.Jul 2 2021, 2:18 AM
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
1401–1403

Thanks, I'll fix the formatting in the committed version. I'll also update the cost-model test for vector copysign.

This revision was landed with ongoing or failed builds.Jul 2 2021, 3:36 AM
This revision was automatically updated to reflect the committed changes.