[all-commits] [llvm/llvm-project] bce0f9: [DA] Extract duplicated logic from gcdMIVtest (NFC...

Ryotaro Kasuga via All-commits all-commits at lists.llvm.org
Tue Aug 12 23:08:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bce0f9d2bfbbdc987769a64ca24925fe34a3a0fd
      https://github.com/llvm/llvm-project/commit/bce0f9d2bfbbdc987769a64ca24925fe34a3a0fd
  Author: Ryotaro Kasuga <kasuga.ryotaro at fujitsu.com>
  Date:   2025-08-13 (Wed, 13 Aug 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/DependenceAnalysis.h
    M llvm/lib/Analysis/DependenceAnalysis.cpp

  Log Message:
  -----------
  [DA] Extract duplicated logic from gcdMIVtest (NFCI) (#152688)

This patch refactors `gcdMIVtest` by consolidating duplicated logic into
a single function. The main goal of this change is to improve code
maintainability rather than readability, especially since we may need to
revise this logic for correctness (as noted in the added TODO comments).

I hope this patch is NFC, but I've also added several new assertions,
which may cause some previously passing cases to fail.



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