[all-commits] [llvm/llvm-project] 7ddfd9: [SVE] Bail from VectorUtils heuristics for scalabl...

Christopher Tetreault via All-commits all-commits at lists.llvm.org
Thu Sep 10 12:30:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ddfd9b3ebfd3f3db7c6c2e8c72308ff3a3426f2
      https://github.com/llvm/llvm-project/commit/7ddfd9b3ebfd3f3db7c6c2e8c72308ff3a3426f2
  Author: Christopher Tetreault <ctetreau at quicinc.com>
  Date:   2020-09-10 (Thu, 10 Sep 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/VectorUtils.h
    M llvm/lib/Analysis/VectorUtils.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    A llvm/test/Transforms/InstCombine/AArch64/VectorUtils_heuristics.ll

  Log Message:
  -----------
  [SVE] Bail from VectorUtils heuristics for scalable vectors

Bail from maskIsAllZeroOrUndef and maskIsAllOneOrUndef prior to iterating over the number of
elements for scalable vectors.

Assert that the mask type is not scalable in possiblyDemandedEltsInMask .

Assert that the types are correct in all three functions.

Reviewed By: efriedma

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




More information about the All-commits mailing list