This is an archive of the discontinued LLVM Phabricator instance.

[VecLib] Add support for vector fns from Darwin's libsystem.
ClosedPublic

Authored by fhahn on May 4 2021, 1:42 PM.

Details

Summary

This patch adds support for Darwin's libsystem math vector functions to
TLI. Darwin's libsystem provides a range of vector functions for libm
functions.

This initial patch only adds the 2 x double and 4 x float versions,
which are available on both X86 and ARM64. On X86, wider vector versions
are supported as well.

Diff Detail

Event Timeline

fhahn created this revision.May 4 2021, 1:42 PM
fhahn requested review of this revision.May 4 2021, 1:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2021, 1:42 PM
jroelofs accepted this revision.May 4 2021, 2:21 PM

LGTM

This revision is now accepted and ready to land.May 4 2021, 2:21 PM
This revision was landed with ongoing or failed builds.May 10 2021, 1:21 PM
This revision was automatically updated to reflect the committed changes.