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

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Fri Feb 21 20:06:55 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 646e4f2eede9a39e46012dde9430cd289682e83c
      https://github.com/llvm/llvm-project/commit/646e4f2eede9a39e46012dde9430cd289682e83c
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2025-02-22 (Sat, 22 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.



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