[llvm] [LAA] Fix incorrect dependency classification. (PR #70819)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 03:27:32 PST 2023


================
@@ -1885,17 +1885,9 @@ MemoryDepChecker::isDependent(const MemAccessInfo &A, unsigned AIdx,
 
   // If the induction step is negative we have to invert source and sink of the
----------------
fhahn wrote:

IIUC we should still swap source and sink for printing, as otherwise it may be confusing that the difference is not what we expect (Sink - Src)?

Would be good to also add a test for the debug output.





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


More information about the llvm-commits mailing list