[llvm] [DA] Move isDirectionNegative and normalize into LoopInterchange (PR #206959)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 04:42:15 PDT 2026


Meinersbur wrote:

Normalizaton seems to be a concept generally useful for any pass. I don't see why only interchange should be able to use it.

Dependence distance vectors have a sign (lexicographic positive or negative), and direction vector is an approximation of it. Maybe if would help to just rename it to `isDirectionKnownNegative`?

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


More information about the llvm-commits mailing list