[all-commits] [llvm/llvm-project] 690f25: [LoopInterchange] Handle LE and GE correctly (#124...

Ryotaro Kasuga via All-commits all-commits at lists.llvm.org
Wed Jan 29 02:31:17 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 690f251063d64a59c0c8065dce7023f1916af17c
      https://github.com/llvm/llvm-project/commit/690f251063d64a59c0c8065dce7023f1916af17c
  Author: Ryotaro Kasuga <kasuga.ryotaro at fujitsu.com>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopInterchange.cpp
    A llvm/test/Transforms/LoopInterchange/outer-dependency-lte.ll

  Log Message:
  -----------
  [LoopInterchange] Handle LE and GE correctly (#124901)

LoopInterchange have converted `DVEntry::LE` and `DVEntry::GE` in
direction vectors to '<' and '>' respectively. This handling is
incorrect because the information about the '=' it lost. This leads to
miscompilation in some cases. To resolve this issue, convert them to '*'
instead.

Resolve #123920



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