[all-commits] [llvm/llvm-project] 7dda8b: [DA] Fix the Weak Zero SIV tests when the coeff ma...

Ryotaro Kasuga via All-commits all-commits at lists.llvm.org
Thu Mar 5 23:28:43 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7dda8ba3751d65ba96d1adf6c61b1e590fbfdee2
      https://github.com/llvm/llvm-project/commit/7dda8ba3751d65ba96d1adf6c61b1e590fbfdee2
  Author: Ryotaro Kasuga <kasuga.ryotaro at fujitsu.com>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M llvm/lib/Analysis/DependenceAnalysis.cpp
    M llvm/test/Analysis/DependenceAnalysis/WeakZeroDstSIV.ll
    M llvm/test/Analysis/DependenceAnalysis/WeakZeroSrcSIV.ll
    M llvm/test/Analysis/DependenceAnalysis/weak_zero_siv_parametric_coeff.ll

  Log Message:
  -----------
  [DA] Fix the Weak Zero SIV tests when the coeff may be zero (#183736)

In the Weak Zero SIV tests, given two subscripts `{c0,+,a}` and `c1`,
when `c0 == c1`, the tests conclude that a dependency exists from the
former subscript at the first iteration to the latter subscript at every
iteration. However, this conclusion is correct only when `a` is not
zero, which was not being checked.
This patch adds non-zero checks for `a` in the Weak Zero SIV tests.
Fix the test cases added in #183735 .



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list