[all-commits] [llvm/llvm-project] fe1e50: [NFC][SLP] Cleanup: Replace Value* operand with In...

vptest1 via All-commits all-commits at lists.llvm.org
Fri Apr 28 12:35:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe1e50cd1570d33768aa71494abe17f481ff34c2
      https://github.com/llvm/llvm-project/commit/fe1e50cd1570d33768aa71494abe17f481ff34c2
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

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

  Log Message:
  -----------
  [NFC][SLP] Cleanup: Replace Value* operand with Instruction* in `vectorizeRootInstruction()` and `vectorizeHorReduction()`

This makes it explicit that these functions work with instructions, and avoids
calling them if the operand is not an instruction.

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




More information about the All-commits mailing list