Revert "[X86][SSE] MatchVectorAllZeroTest - handle OR vector reductions"
authorHans Wennborg <hans@chromium.org>
Mon, 22 Jun 2020 18:58:11 +0000 (20:58 +0200)
committerHans Wennborg <hans@chromium.org>
Mon, 22 Jun 2020 19:27:11 +0000 (21:27 +0200)
commit1357c065783e8d66c9db4be59aca389d1dc6c05f
tree50db21999f5cab35ddd52df71fff48ad2e8cfa93
parent5e2c736395cc44a00c8c2cc9fc916450bf780fbe
Revert "[X86][SSE] MatchVectorAllZeroTest - handle OR vector reductions"

This caused a Chromium test to miscompile. See discussion on the Phabricator
review.

> This patch extends MatchVectorAllZeroTest to handle OR vector reduction patterns where the result is compared against zero.
>
> Fixes PR45378
>
> Differential Revision: https://reviews.llvm.org/D81547

This reverts 057c9c7ee00b7f7696065a3fc26a3df5ce3ebe96
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/pr45378.ll
llvm/test/CodeGen/X86/vector-reduce-or-cmp.ll