[all-commits] [llvm/llvm-project] afbf54: [SLP]Improve operands kind analaysis for constants.

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Tue Aug 30 06:36:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: afbf5466ba0e20ca575b3f6af9ab20251e5285b6
      https://github.com/llvm/llvm-project/commit/afbf5466ba0e20ca575b3f6af9ab20251e5285b6
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

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

  Log Message:
  -----------
  [SLP]Improve operands kind analaysis for constants.

Removed EnableFP parameter in getOperandInfo function since it is not
needed, the operands kinds also controlled by the operation code, which
allows to remove extra check for the type of the operands. Also, added
analysis for uniform constant float values.

This change currently does not trigger any changes in the code since TTI
does not do analysis for constant floats, so it can be considered NFC.
Tested with llvm-test-suite + SPEC2017, no changes.

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




More information about the All-commits mailing list