[PATCH] D134719: [AArch64] Enable libm vectorized functions via SLEEF

Daniel Kiss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 18 08:54:00 PST 2023


danielkiss updated this revision to Diff 490192.
danielkiss added a comment.

clean up `createTLII` since now fronted checks for the target support.

In D134719#4061906 <https://reviews.llvm.org/D134719#4061906>, @paulwalker-arm wrote:

> Thanks @danielkiss  this all sounds reasonable to me. So other than my comment relating to redundant code in `createTLII` this patch looks good to me. One extra datapoint is that I'm pretty sure Sleef has supported SVE for a few years now and there are patches in flight to improve LoopVectorize to be able to emit function calls that take a predicate so we're not too far away from having complete support in this regard.

Thanks, Sound good, looking forward to support that too :)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134719/new/

https://reviews.llvm.org/D134719

Files:
  clang/include/clang/Basic/CodeGenOptions.h
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/BackendUtil.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/Driver/autocomplete.c
  clang/test/Driver/fveclib.c
  llvm/include/llvm/Analysis/TargetLibraryInfo.h
  llvm/include/llvm/Analysis/VecFuncs.def
  llvm/lib/Analysis/TargetLibraryInfo.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/sleef-calls-aarch64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134719.490192.patch
Type: text/x-patch
Size: 49652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230118/237950ab/attachment-0001.bin>


More information about the llvm-commits mailing list