[PATCH] D89457: [VE] Support fabs/fcos/fsin/fsqrt math functions
Kazushi Marukawa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 04:38:07 PDT 2020
kaz7 created this revision.
kaz7 added reviewers: simoll, k-ishizaka.
kaz7 added projects: LLVM, VE.
Herald added subscribers: llvm-commits, hiraditya.
kaz7 requested review of this revision.
VE doesn't have instruction for fabs/fcos/fsin/fsqrt, so expand them.
Add regression tests also. Update fcopysign regression test, also.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89457
Files:
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/test/CodeGen/VE/fabs.ll
llvm/test/CodeGen/VE/fcopysign.ll
llvm/test/CodeGen/VE/fcos.ll
llvm/test/CodeGen/VE/fp_copysign.ll
llvm/test/CodeGen/VE/fsin.ll
llvm/test/CodeGen/VE/fsqrt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89457.298350.patch
Type: text/x-patch
Size: 23689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201015/8905cdef/attachment.bin>
More information about the llvm-commits
mailing list