Revert "[DAGCombiner] Fold (zext (and/or/xor (shl/shr (load x), cst), cst))"
authorMartin Storsjo <martin@martin.st>
Fri, 23 Mar 2018 08:36:47 +0000 (08:36 +0000)
committerMartin Storsjo <martin@martin.st>
Fri, 23 Mar 2018 08:36:47 +0000 (08:36 +0000)
commitdb75aa96d33221938f503f30ec82a0bb76398669
treed86362ba39f4471073710d73ad4f62faec8f5cc3
parentdfeea84d63f737ddded2531c8c309a7f93fecf38
Revert "[DAGCombiner] Fold (zext (and/or/xor (shl/shr (load x), cst), cst))"

This reverts commit r328252. This change broke building a number
of projects when targeting ARM and AArch64, see PR36873.

llvm-svn: 328297
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/zext-logicop-shift-load.ll [deleted file]