[all-commits] [llvm/llvm-project] fdda60: Revert "[InstCombine] Return instruction from repl...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Mar 14 09:46:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdda602c04e43f7be8820996d3161abb71bec67b
      https://github.com/llvm/llvm-project/commit/fdda602c04e43f7be8820996d3161abb71bec67b
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp

  Log Message:
  -----------
  Revert "[InstCombine] Return instruction from replaceUse()"

This reverts commit 27c4e233104ba765cd986b3f8b0dcd3a6c3a9f89.

I think I made a mistake with the use in RemoveConditionFromAssume(),
because the instruction being changed is not the current one, but
the next assume. Revert the change for now.




More information about the All-commits mailing list