[all-commits] [llvm/llvm-project] 25fbe8: [LV] Move runtime pointer size check to LVP::plan().

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Mar 29 06:20:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25fbe803d4dbcf8ff3a3a9ca161f5b9a68353ed0
      https://github.com/llvm/llvm-project/commit/25fbe803d4dbcf8ff3a3a9ca161f5b9a68353ed0
  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
    M llvm/test/LTO/X86/diagnostic-handler-remarks.ll
    A llvm/test/Transforms/LoopVectorize/X86/runtime-limit.ll
    R llvm/test/Transforms/LoopVectorize/runtime-limit.ll

  Log 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

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




More information about the All-commits mailing list