Revert "[InstCombine] improve efficiency of bool logic; NFC"
authorSanjay Patel <spatel@rotateright.com>
Thu, 8 Dec 2022 15:46:49 +0000 (10:46 -0500)
committerSanjay Patel <spatel@rotateright.com>
Thu, 8 Dec 2022 19:16:46 +0000 (14:16 -0500)
commit99254f925185e18f456821e27a2272136518f9f3
treeeb3c5b53710a6126ce9ef9898d5d96dcec4bd62a
parent49c86eab627b0c4089c8d25dac48728c656448a9
Revert "[InstCombine] improve efficiency of bool logic; NFC"

This reverts commit b7c7fe3d0779b6e332fe6db64e87561deba2e56a.

As discussed in the planned follow-on to this patch (D138874),
this and the previous patch in this set can cause trouble for
the backend, and there's probably no quick fix. We may even
want to canonicalize in the opposite direction (towards insertelt).
llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp