[all-commits] [llvm/llvm-project] b716d0: [LoopVectorize] Clean up VPReductionRecipe::execut...

RosieSumpter via All-commits all-commits at lists.llvm.org
Tue Oct 26 09:30:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b716d0aa94f1c0b8779f06953171f626cd828bf0
      https://github.com/llvm/llvm-project/commit/b716d0aa94f1c0b8779f06953171f626cd828bf0
  Author: Rosie Sumpter <rosie.sumpter at arm.com>
  Date:   2021-10-26 (Tue, 26 Oct 2021)

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

  Log Message:
  -----------
  [LoopVectorize] Clean up VPReductionRecipe::execute. NFC

Use RdxDesc->getOpcode instead of getUnderlingInstr()->getOpcode.
Move the code which finds Kind and IsOrdered to be outside the for loop
since neither of these change with the vector part.

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




More information about the All-commits mailing list