[llvm] [LV][NFC] Introduce LoopVectorizationUtils for shared utility functions (PR #194951)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri May 1 06:32:56 PDT 2026


================
@@ -388,48 +389,6 @@ static bool hasIrregularType(Type *Ty, const DataLayout &DL) {
   return DL.getTypeAllocSizeInBits(Ty) != DL.getTypeSizeInBits(Ty);
 }
 
-/// A version of ScalarEvolution::getSmallConstantTripCount that returns an
----------------
fhahn wrote:

I am not sure about moving static functions unless there are users in other TUs, to avoid exposing them more widely than necessary

https://github.com/llvm/llvm-project/pull/194951


More information about the llvm-commits mailing list