Support for Darwin's libsystem_m's vector functions has been added to
LLVM in 93a9a8a8d90f.
This patch adds support for -fveclib=Darwin_libsystem_m to Clang.
Paths
| Differential D102489
[Clang,Driver] Add -fveclib=Darwin_libsystem_m support. ClosedPublic Authored by fhahn on May 14 2021, 5:30 AM.
Details Summary Support for Darwin's libsystem_m's vector functions has been added to This patch adds support for -fveclib=Darwin_libsystem_m to Clang.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.May 14 2021, 8:52 AM Closed by commit rG187a14e1f399: [Clang,Driver] Add -fveclib=Darwin_libsystem_m support. (authored by fhahn). · Explain WhyMay 14 2021, 1:19 PM This revision was automatically updated to reflect the committed changes. dyung added a reverting change: rG59b419adc6e6: Revert "[Clang,Driver] Add -fveclib=Darwin_libsystem_m support.".May 14 2021, 10:41 PM Comment Actions The test added in this commit was failing on the PS4 bot (https://lab.llvm.org/buildbot/#/builders/139/builds/4059). I've reverted the change in 59b419adc6e608db8d7c31efcc37f34c0b57b7d0 to get the bot green again. Comment Actions (Failed on our bots too -- the new test probably just needs a REQUIRES: aarch64-registered-target) Comment Actions
Thanks! I re-landed the change in 803c52d0dba9 with REQUIRES: aarch64-registered-target
Revision Contents
Diff 345410 clang/include/clang/Basic/CodeGenOptions.h
clang/include/clang/Driver/Options.td
clang/lib/CodeGen/BackendUtil.cpp
clang/test/Driver/autocomplete.c
clang/test/Driver/fveclib.c
|
Can you add an IRGen testcase that verifies that TLII is setting the vecLib correctly here?