[all-commits] [llvm/llvm-project] a18034: [LV] Allow scalarization of function calls when ma...

huntergr-arm via All-commits all-commits at lists.llvm.org
Fri Mar 3 07:39:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a180344589cacac31276a0b26a1988ea0017728b
      https://github.com/llvm/llvm-project/commit/a180344589cacac31276a0b26a1988ea0017728b
  Author: Graham Hunter <graham.hunter at arm.com>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/masked-call.ll
    M llvm/test/Transforms/LoopVectorize/scalarize-masked-call.ll

  Log Message:
  -----------
  [LV] Allow scalarization of function calls when masking is required

This patch adds support for scalarizing calls to a function when
there is a vector variant that cannot be used, either because there
isn't a masked variant or because the cost model indicated a VF
without a masked variant was better.

Reviewed By: paulwalker-arm

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




More information about the All-commits mailing list