[PATCH] D101759: [PowerPC] Scalar IBM MASS library conversion pass

Masoud Ataei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 3 07:46:37 PDT 2021


masoud.ataei created this revision.
masoud.ataei added reviewers: etiotto, pjeeva01, renenkel, bmahjour.
masoud.ataei added projects: LLVM, PowerPC.
Herald added subscribers: steven.zhang, shchenz, kbarton, hiraditya, mgorny, nemanjai.
masoud.ataei requested review of this revision.
Herald added a subscriber: llvm-commits.

This patch introduces an option to enable conversions from math function calls
to MASS library calls. To resolves calls generated with these conversions, one
need to link libxlopt.a library.

This patch is tested on PowerPC Linux and AIX.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101759

Files:
  llvm/include/llvm/Analysis/ScalarFuncs.def
  llvm/include/llvm/Target/TargetOptions.h
  llvm/lib/Target/PowerPC/CMakeLists.txt
  llvm/lib/Target/PowerPC/PPC.h
  llvm/lib/Target/PowerPC/PPCGenScalarMASSEntries.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
  llvm/test/CodeGen/PowerPC/lower-intrinsics-fast-mass.ll
  llvm/test/CodeGen/PowerPC/lower-intrinsics-mass-aix.ll
  llvm/test/CodeGen/PowerPC/lower-intrinsics-nofast-mass.ll
  llvm/test/CodeGen/PowerPC/lower-scalar-mass-fast.ll
  llvm/test/CodeGen/PowerPC/pow-025-075-intrinsic-scalar-mass.ll
  llvm/test/CodeGen/PowerPC/pow-025-075-scalar-mass.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101759.342382.patch
Type: text/x-patch
Size: 83332 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210503/22eb0c17/attachment-0001.bin>


More information about the llvm-commits mailing list