[all-commits] [llvm/llvm-project] abe467: [InstCombine] Fix infinite loop due to incorrect `...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Mon Mar 4 11:51:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abe4677d9f8ab82f722f29dbf57952052accd70b
      https://github.com/llvm/llvm-project/commit/abe4677d9f8ab82f722f29dbf57952052accd70b
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-03-05 (Tue, 05 Mar 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    A llvm/test/Transforms/InstCombine/pr82877.ll

  Log Message:
  -----------
  [InstCombine] Fix infinite loop due to incorrect `DoesConsume` (#82973)

When a call to `getFreelyInvertedImpl` with a select/phi node fails,
`DoesConsume` should not be changed.

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



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