[all-commits] [llvm/llvm-project] 185863: [LV] Use available masked vector function variants...

huntergr-arm via All-commits all-commits at lists.llvm.org
Wed Apr 5 03:19:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 185863f7de7c53358c535cd51783ea4e7de214b2
      https://github.com/llvm/llvm-project/commit/185863f7de7c53358c535cd51783ea4e7de214b2
  Author: Graham Hunter <graham.hunter at arm.com>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

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

  Log Message:
  -----------
  [LV] Use available masked vector function variants when required

LLVM has the ability to vectorize using function variants that require
a mask by creating an all-true mask, and to vectorize a conditional
call via scalarization, now we want to join the two parts together
and use a masked variant when a mask is required.

Reviewed By: david-arm

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




More information about the All-commits mailing list