[all-commits] [llvm/llvm-project] 410e5b: [VE] Support fabs/fcos/fsin/fsqrt math functions

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Thu Oct 15 14:27:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 410e5b17cf11691de7775315dbf9d5e94f5c4808
      https://github.com/llvm/llvm-project/commit/410e5b17cf11691de7775315dbf9d5e94f5c4808
  Author: Kazushi (Jam) Marukawa <marukawa at nec.com>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

  Changed paths:
    M llvm/lib/Target/VE/VEISelLowering.cpp
    A llvm/test/CodeGen/VE/fabs.ll
    A llvm/test/CodeGen/VE/fcopysign.ll
    A llvm/test/CodeGen/VE/fcos.ll
    R llvm/test/CodeGen/VE/fp_copysign.ll
    A llvm/test/CodeGen/VE/fsin.ll
    A llvm/test/CodeGen/VE/fsqrt.ll

  Log Message:
  -----------
  [VE] Support fabs/fcos/fsin/fsqrt math functions

VE doesn't have instruction for fabs/fcos/fsin/fsqrt, so expand them.
Add regression tests also.  Update fcopysign regression test, also.

Reviewed By: simoll

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




More information about the All-commits mailing list