[all-commits] [llvm/llvm-project] 647c9e: [VPlan] Make various tryTo* helpers private and ma...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Apr 21 06:49:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 647c9e72e4bee3676f19e92dd5be84f165dcaffa
      https://github.com/llvm/llvm-project/commit/647c9e72e4bee3676f19e92dd5be84f165dcaffa
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

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

  Log Message:
  -----------
  [VPlan] Make various tryTo* helpers private and mark as const (NFC).

The individual tryTo* helpers do not need to be public. Also, the
builder contained two consecutive public: sections, which is not
necessary. Moved the remaining public methods after the constructor.

Also make some of the tryTo* helpers const.

Reviewers: gilr, rengolin, Ayal, hsaito

Reviewed by: gilr

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




More information about the All-commits mailing list