[all-commits] [llvm/llvm-project] a3d1de: [LV] Move invalid cost remark code to separate fun...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Feb 16 03:28:55 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3d1de3e290876d525b5ddf0a523f38399e20415
      https://github.com/llvm/llvm-project/commit/a3d1de3e290876d525b5ddf0a523f38399e20415
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-02-16 (Thu, 16 Feb 2023)

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

  Log Message:
  -----------
  [LV] Move invalid cost remark code to separate function (NFC).

The code only needs access to INvalidCosts, ORE and TheLoop, so it can
easily be moved into a helper to make selectVectorizationFactor more
compact.

Reviewed By: sdesmalen

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




More information about the All-commits mailing list