[PATCH] D156439: [TLI][AArch64] Extend ReplaceWithVeclib to replace vector FREM instructions for scalable vectors

Jolanta Jensen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 08:10:25 PDT 2023


jolanta.jensen created this revision.
jolanta.jensen added reviewers: paulwalker-arm, mgabka, huntergr.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
jolanta.jensen requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, alextsao1999.
Herald added a project: LLVM.

This patch teaches ReplaceWithVeclib pass how to replace
vector FREM instructions for scalable vectors.

SLEEF mappings to scalable vector functions for fmod/fmodf
were also added.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156439

Files:
  llvm/include/llvm/Analysis/VecFuncs.def
  llvm/lib/CodeGen/ReplaceWithVeclib.cpp
  llvm/test/CodeGen/AArch64/replace-intrinsics-with-veclib-armpl.ll
  llvm/test/CodeGen/AArch64/replace-intrinsics-with-veclib-sleef-scalable.ll
  llvm/test/Transforms/LoopVectorize/AArch64/sleef-calls-aarch64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156439.544781.patch
Type: text/x-patch
Size: 14286 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230727/d60c85ad/attachment.bin>


More information about the llvm-commits mailing list