[all-commits] [llvm/llvm-project] 2b3a41: [DA] Check element size when analyzing deps betwee...

Ryotaro Kasuga via All-commits all-commits at lists.llvm.org
Thu Jul 17 05:11:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b3a410f5bc8358a9e8594331d70c9c5d59633d8
      https://github.com/llvm/llvm-project/commit/2b3a410f5bc8358a9e8594331d70c9c5d59633d8
  Author: Ryotaro Kasuga <kasuga.ryotaro at fujitsu.com>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M llvm/lib/Analysis/DependenceAnalysis.cpp
    M llvm/test/Analysis/DependenceAnalysis/DifferentOffsets.ll
    M llvm/test/Analysis/DependenceAnalysis/MIVCheckConst.ll

  Log Message:
  -----------
  [DA] Check element size when analyzing deps between same instruction (#148813)

DependenceAnalysis checks whether the given addresses are divisible by
the element size of corresponding load/store instructions. However, this
check was only executed when the two instructions (Src and Dst) are
different. We must also perform the same check when Src and Dst are the
same instruction.

Fix the test added in #147715.



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