Temporarily revert "[SLP] fix miscompile on min/max reductions with extra uses (PR43948)"
authorEric Christopher <echristo@gmail.com>
Mon, 18 Nov 2019 22:41:37 +0000 (14:41 -0800)
committerEric Christopher <echristo@gmail.com>
Mon, 18 Nov 2019 22:41:37 +0000 (14:41 -0800)
commit6f1cc4151a5ad297b2d1d87d98e266f9729100e2
tree04372b0109f9084038f70164d52bf0eafeed2a6c
parent5e0a4eddac2477a5792a11bc2beb12749b91eb55
Temporarily revert "[SLP] fix miscompile on min/max reductions with extra uses (PR43948)"
as it causes an ICE on valid. A testcase was followed up on the original thread.

This reverts commit a3e61946c5bd7bdfab15af76b292e52d6ffa27f7.
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/reduction.ll
llvm/test/Transforms/SLPVectorizer/X86/used-reduced-op.ll