Revert "Reapply [InstCombine] Switch foldOpIntoPhi() to use InstSimplify"
authorGulfem Savrun Yeniceri <gulfem@google.com>
Tue, 4 Oct 2022 20:37:39 +0000 (20:37 +0000)
committerGulfem Savrun Yeniceri <gulfem@google.com>
Tue, 4 Oct 2022 20:57:34 +0000 (20:57 +0000)
commitd7592bbb0362b38d82bdf6e97294f54059e3f456
treef6b27d32a6a4ebd7e93682e08b62bac54ff65d0e
parent062c660dbfa81a742440cec49446fe81fc7d0114
Revert "Reapply [InstCombine] Switch foldOpIntoPhi() to use InstSimplify"

This reverts commit e1dd2cd063785ea3a6004c8d173f13113b1b8265 because
the original commit b20e34b39f72f2be035dfb7367b6880fd2cf213a had
a dramatic increase in the build time of RTfuzzer, which caused Fuchsia
Clang toolchain builders to timeout:
https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8801248587754572961/overview
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/intptr1.ll
llvm/test/Transforms/InstCombine/intptr4.ll
llvm/test/Transforms/InstCombine/intptr5.ll
llvm/test/Transforms/InstCombine/intptr7.ll
llvm/test/Transforms/InstCombine/phi-select-constant.ll
llvm/test/Transforms/InstCombine/phi.ll
llvm/test/Transforms/InstCombine/recurrence.ll