[all-commits] [llvm/llvm-project] a78e86: [SLP]Avoid multiple attempts to vectorize CmpInsts.

cilkplus via All-commits all-commits at lists.llvm.org
Wed Apr 7 06:17:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a78e86e6beb2d62196fa42be9f4a2994823f71f3
      https://github.com/llvm/llvm-project/commit/a78e86e6beb2d62196fa42be9f4a2994823f71f3
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-04-07 (Wed, 07 Apr 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP]Avoid multiple attempts to vectorize CmpInsts.

No need to lookup through and/or try to vectorize operands of the
CmpInst instructions during attempts to find/vectorize min/max
reductions. Compiler implements postanalysis of the CmpInsts so we can
skip extra attempts in tryToVectorizeHorReductionOrInstOperands and save
compile time.

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




More information about the All-commits mailing list