Revert "[InstCombine] Canonicalize "and, add", "or, add", "xor, add""
authorPhilip Reames <preames@rivosinc.com>
Fri, 26 Aug 2022 18:13:53 +0000 (11:13 -0700)
committerPhilip Reames <listmail@philipreames.com>
Fri, 26 Aug 2022 18:18:31 +0000 (11:18 -0700)
commitc58791c286e0b0feba04711e973bf7b4871d1dfb
tree2f4ef916c94e82fd0fd93be62d48f623ebab99a9
parent3dcec5e29ff73d9f42b364885119105b69c2bb37
Revert "[InstCombine] Canonicalize "and, add", "or, add", "xor, add""

This reverts commit d2f110c693c88d1bb7caee4f72ebb14766f85239.  test/Transforms/InstCombine/freeze.ll fails on ninja check-llvm on x86_64.
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/test/Transforms/InstCombine/and-xor-or.ll
llvm/test/Transforms/InstCombine/sub.ll