Revert "[InstCombine] Switch foldOpIntoPhi() to use InstSimplify"
authorNikita Popov <npopov@redhat.com>
Tue, 4 Oct 2022 09:17:09 +0000 (11:17 +0200)
committerNikita Popov <npopov@redhat.com>
Tue, 4 Oct 2022 09:17:09 +0000 (11:17 +0200)
commit0f32f0e147abdbfa98b9011c0aae2ea213de2205
treef7b69a5667ad238e1e208ba91a4171ff721b49fc
parent45dec8f5fdd82cf1ed456b0fa860774a26c0acca
Revert "[InstCombine] Switch foldOpIntoPhi() to use InstSimplify"

This reverts commit b20e34b39f72f2be035dfb7367b6880fd2cf213a.

This causes RAUW type mismatch assertions on some buildbots,
reverting for now.
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