Revert "[InstSimplify] Make simplifyWithOpReplaced() recursive (PR63104)"
authorNikita Popov <npopov@redhat.com>
Fri, 14 Jul 2023 16:32:34 +0000 (18:32 +0200)
committerNikita Popov <npopov@redhat.com>
Fri, 14 Jul 2023 16:33:39 +0000 (18:33 +0200)
commit2bc7d023128b688d5a56201dfbcc6ab6182f2f06
tree9198d8563c437bdd71e4c8ebc608f03b11141188
parent563a23c824db22da3ea378e8179fcc7072e897ec
Revert "[InstSimplify] Make simplifyWithOpReplaced() recursive (PR63104)"

This is very likely the cause of a stage 2 failure in
Transforms/LoopVectorize/check-prof-info.ll. Revert until I can
investigate this.

This reverts commit 3d199d086e076f0b9b90d4c59f2226a417a639b5.
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstCombine/div-by-0-guard-before-smul_ov-not.ll
llvm/test/Transforms/InstCombine/div-by-0-guard-before-umul_ov-not.ll
llvm/test/Transforms/InstCombine/select-ctlz-to-cttz.ll
llvm/test/Transforms/InstCombine/shift.ll
llvm/test/Transforms/InstSimplify/select.ll