VE doesn't have instruction for fabs/fcos/fsin/fsqrt, so expand them.
Add regression tests also.  Update fcopysign regression test, also.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D89457  
[VE] Support fabs/fcos/fsin/fsqrt math functions ClosedPublic Authored by kaz7 on Oct 15 2020, 4:38 AM. 
Details Summary VE doesn't have instruction for fabs/fcos/fsin/fsqrt, so expand them. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Oct 15 2020, 9:05 AM This revision was landed with ongoing or failed builds.Oct 15 2020, 2:27 PM Closed by commit rG410e5b17cf11: [VE] Support fabs/fcos/fsin/fsqrt math functions (authored by kaz7).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 298468 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/fsin.ll
 
 llvm/test/CodeGen/VE/fsqrt.ll
 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||