[all-commits] [llvm/llvm-project] 5fe0ca: [PowerPC] Removing sqrtd2 and sqrtf4 from list of ...

Masoud Ataei Jaliseh via All-commits all-commits at lists.llvm.org
Mon Mar 1 07:43:41 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fe0cab79e184e48a6519eb5408bda99c837648a
      https://github.com/llvm/llvm-project/commit/5fe0cab79e184e48a6519eb5408bda99c837648a
  Author: Masoud Ataei <msd.ataei at gmail.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/VecFuncs.def
    M llvm/test/CodeGen/PowerPC/lower-massv.ll
    M llvm/test/Transforms/LoopVectorize/PowerPC/massv-calls.ll

  Log Message:
  -----------
  [PowerPC] Removing sqrtd2 and sqrtf4 from list of vectorizable function with MASSV

Under -O3 and -Ofast, the MASSV conversion prevents the sqrt call to be inlined.
Inline sqrt is faster than MASSV call on leppc.

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




More information about the All-commits mailing list