[all-commits] [llvm/llvm-project] 66ad10: [VPlan] Remove unique_ptr from VPBranchOnRecipeMas...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue May 19 07:02:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 66ad107452893517da93d25e58c16ba4669a00eb
      https://github.com/llvm/llvm-project/commit/66ad107452893517da93d25e58c16ba4669a00eb
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-05-19 (Tue, 19 May 2020)

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

  Log Message:
  -----------
  [VPlan] Remove unique_ptr from VPBranchOnRecipeMask (NFC).

We can remove a dynamic memory allocation, by checking the number of
operands: no operands = all true, 1 operand = mask.

Reviewers: Ayal, gilr, rengolin

Reviewed By: Ayal

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




More information about the All-commits mailing list