Revert "[LSR] Allow already invariant operand for ICmpZero matching"
authorPhilip Reames <preames@rivosinc.com>
Fri, 15 Jul 2022 17:47:32 +0000 (10:47 -0700)
committerPhilip Reames <listmail@philipreames.com>
Fri, 15 Jul 2022 17:47:57 +0000 (10:47 -0700)
commit6fe766bebac7ab2d4d8822d808064e467c542120
tree8e5e7431b4276c0e090c8335e1a666b94f7a811d
parentac14d5a1db4b498cf38e5d79e09fa90a8715909b
Revert "[LSR] Allow already invariant operand for ICmpZero matching"

This reverts commit 9153515a7bea9fb9dd4c76f70053a170bf825f35.  Builtbot crash was reported in the commit thread, reverting while investigating.
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll
llvm/test/Transforms/LoopStrengthReduce/RISCV/icmp-zero.ll