Revert "[InstCombine] Simplify compare of Phi with constant inputs against a constant"
authorKadir Cetinkaya <kadircet@google.com>
Fri, 5 Jun 2020 11:02:35 +0000 (13:02 +0200)
committerKadir Cetinkaya <kadircet@google.com>
Fri, 5 Jun 2020 11:02:35 +0000 (13:02 +0200)
commitc4b5a66e44f031eb89c9d6ea32b144f1169bdbae
treeba4cb0d03af997b257dcb9f810ac087b0a237884
parentc31d2134639bb87d6705fe8fb1a46de61bc4cebf
Revert "[InstCombine] Simplify compare of Phi with constant inputs against a constant"

This reverts commit 16b7eb6dd1247dbe322061d33636a054d6c954dc.

Breaks build bots, see
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/29888
for an example.
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/icmp-constant-phi.ll
llvm/test/Transforms/InstCombine/indexed-gep-compares.ll
llvm/test/Transforms/InstCombine/zext-or-icmp.ll