[all-commits] [llvm/llvm-project] 25d342: [LV] Replace use of getMaxSafeDepDist with isSafeF...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Jul 21 13:06:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25d34215bb80459dd328d6f8eb86c43684375d88
      https://github.com/llvm/llvm-project/commit/25d34215bb80459dd328d6f8eb86c43684375d88
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

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

  Log Message:
  -----------
  [LV] Replace use of getMaxSafeDepDist with isSafeForAnyVector (NFC)

Replace the use of getMaxSafeDepDistBytes with the more direct
isSafeForAnyVector. This removes the need to define getMaxSafeDepDistBytes.




More information about the All-commits mailing list