[all-commits] [llvm/llvm-project] 93a9a8: [VecLib] Add support for vector fns from Darwin's ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon May 10 13:21:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93a9a8a8d90f5b9bb6965ebb1104082692d41833
      https://github.com/llvm/llvm-project/commit/93a9a8a8d90f5b9bb6965ebb1104082692d41833
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/include/llvm/Analysis/VecFuncs.def
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    A llvm/test/CodeGen/Generic/replace-intrinsics-with-veclib-darwin-libsystem-m.ll
    A llvm/test/Transforms/LoopVectorize/AArch64/veclib-calls-libsystem-darwin.ll

  Log Message:
  -----------
  [VecLib] Add support for vector fns from Darwin's libsystem.

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.

Reviewed By: jroelofs

Differential Revision: https://reviews.llvm.org/D101856




More information about the All-commits mailing list