[all-commits] [llvm/llvm-project] fe0e65: [InstCombine] Re-queue users after freezeOtherUses...

Yuyang Zhang via All-commits all-commits at lists.llvm.org
Thu Jun 18 00:30:06 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe0e658e25619cc86779e836f192010559d7b591
      https://github.com/llvm/llvm-project/commit/fe0e658e25619cc86779e836f192010559d7b591
  Author: Yuyang Zhang <Yuyang.Zhang at amd.com>
  Date:   2026-06-18 (Thu, 18 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/freeze.ll
    M llvm/test/Transforms/InstCombine/shift.ll
    M llvm/test/Transforms/PGOProfile/chr.ll

  Log Message:
  -----------
  [InstCombine] Re-queue users after freezeOtherUses rewrites their operands (#202306)

`freezeOtherUses()` rewrites dominated uses to a single frozen copy, but
does not re-queue the rewritten users. Any fold enabled by the rewrite
is therefore left for the next InstCombine iteration, which breaks the
expected single-iteration fixpoint and requires
`instcombine-no-verify-fixpoint` in the affected tests.

Re-queue each rewritten user and its users so the newly exposed folds
are visited in the same iteration.



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