[all-commits] [llvm/llvm-project] 6461bd: [Polly] Fix infinite recursion in `ScopExpander::v...

Le Gia Bao via All-commits all-commits at lists.llvm.org
Mon Jul 13 03:41:15 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6461bd3749dc09698b76c3349e7b4befab7f7f9b
      https://github.com/llvm/llvm-project/commit/6461bd3749dc09698b76c3349e7b4befab7f7f9b
  Author: Le Gia Bao <legiabao7300 at gmail.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M polly/lib/Support/ScopHelper.cpp
    A polly/test/CodeGen/issue205137.ll

  Log Message:
  -----------
  [Polly] Fix infinite recursion in `ScopExpander::visitAddRecExpr` (#206063)

visitUnknown follow VMap, call GenSE.getSCEV() on the mapped value, and
get back the original AddRec, recursing visitAddRecExpr infinitely.

Insert the result into SCEVCache before calling visit() to cut
recursion.

Fixes #205137.



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