[all-commits] [llvm/llvm-project] 137d70: [SCEV] Do not attempt to collect loop guards for l...

Julian Nagele via All-commits all-commits at lists.llvm.org
Wed Jan 22 10:37:00 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 137d706739653304294adef84ed758e3e498d975
      https://github.com/llvm/llvm-project/commit/137d706739653304294adef84ed758e3e498d975
  Author: Julian Nagele <j.nagele at apple.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/backedge-taken-count-guard-info-with-multiple-predecessors.ll

  Log Message:
  -----------
  [SCEV] Do not attempt to collect loop guards for loops without predecessor. (#123662)

Attempting to collect loop guards for loops without a predecessor can
lead to non-terminating recursion trying to construct a SCEV.

Fixes https://github.com/llvm/llvm-project/issues/122913.



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