[llvm] [LoopVectorize] In LoopVectorize.cpp start using getSymbolicMaxBackedgeTakenCount (PR #108833)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 18 02:40:53 PDT 2024


https://github.com/fhahn commented:

> I think you might be taking the "create small patches" idea a bit too far but I suppose this change does ensure LoopVectorize is not relying on the more restricted behaviour of getBackedgeTakenCount().

Yeah, I think as is this may be more confusing for the reader, at least without a comment. Might also clarify to with an assertion that getBackedgeTakenCount is not SCEVCouldNotCompute....

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


More information about the llvm-commits mailing list