[all-commits] [llvm/llvm-project] 38c693: [LV] Simplify lambda in all_of to directly return ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Jan 5 02:39:49 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 38c6933dcc9660b0c00f00ae62345339010dc764
      https://github.com/llvm/llvm-project/commit/38c6933dcc9660b0c00f00ae62345339010dc764
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-01-05 (Tue, 05 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h

  Log Message:
  -----------
  [LV] Simplify lambda in all_of to directly return hasVF() result. (NFC)

The if in the lambda is not necessary. We can directly return the result
of hasVF.




More information about the All-commits mailing list