[all-commits] [llvm/llvm-project] 69ee30: [DAGCombiner] visitFREEZE: Early exit when N is de...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Tue Feb 25 08:38:17 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 69ee30f9db773048d314db466aaa187b6843c3c0
      https://github.com/llvm/llvm-project/commit/69ee30f9db773048d314db466aaa187b6843c3c0
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/X86/pr128143.ll

  Log Message:
  -----------
  [DAGCombiner] visitFREEZE: Early exit when N is deleted (#128161)

`N` may get merged with existing nodes inside the loop. Early exit when
it is deleted to avoid the crash.
Alternative solution: use `DAGNodeDeletedListener` to refresh the value
of N.

Closes https://github.com/llvm/llvm-project/issues/128143.

(cherry picked from commit 646e4f2eede9a39e46012dde9430cd289682e83c)



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