[LV] Replace use of getMaxSafeDepDist with isSafeForAnyVector (NFC)
authorFlorian Hahn <flo@fhahn.com>
Fri, 21 Jul 2023 20:05:50 +0000 (22:05 +0200)
committerFlorian Hahn <flo@fhahn.com>
Fri, 21 Jul 2023 20:05:50 +0000 (22:05 +0200)
commit25d34215bb80459dd328d6f8eb86c43684375d88
treec0308051e657d151735db56312066a9cb60599a2
parentd873a14e934635c208d8bd8b74ef57492bfc7404
[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.
llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp