[all-commits] [llvm/llvm-project] c773d0: Recommit "[LV] Move runtime pointer size check to ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Mar 29 08:16:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c773d0f973047730bcf1d606a40e1d22faa481c5
      https://github.com/llvm/llvm-project/commit/c773d0f973047730bcf1d606a40e1d22faa481c5
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-03-29 (Mon, 29 Mar 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/X86/runtime-limit.ll
    R llvm/test/Transforms/LoopVectorize/runtime-limit.ll

  Log Message:
  -----------
  Recommit "[LV] Move runtime pointer size check to LVP::plan()."

Re-apply 25fbe803d4db, with a small update to emit the right remark
class.

Original message:
    [LV] Move runtime pointer size check to LVP::plan().

    This removes the need for the remaining doesNotMeet check and instead
    directly checks if there are too many runtime checks for vectorization
    in the planner.

    A subsequent patch will adjust the logic used to decide whether to
    vectorize with runtime to consider their cost more accurately.

    Reviewed By: lebedev.ri




More information about the All-commits mailing list