Revert rL357745: [SelectionDAG] Compute known bits of CopyFromReg
authorDavid Green <david.green@arm.com>
Wed, 10 Apr 2019 18:00:41 +0000 (18:00 +0000)
committerDavid Green <david.green@arm.com>
Wed, 10 Apr 2019 18:00:41 +0000 (18:00 +0000)
commit0861c87b06c5573d919ec550bbbd2a1624d22ba0
tree99fec9561f6122cd38721bf5947e097a61ad7348
parent5f6eb1817af8d525ee93ac8a1f0cf9c881b3ebd3
Revert rL357745: [SelectionDAG] Compute known bits of CopyFromReg

Certain optimisations from ConstantHoisting and CGP rely on Selection DAG not
seeing through to the constant in other blocks. Revert this patch while we come
up with a better way to handle that.

I will try to follow this up with some better tests.

llvm-svn: 358113
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.buffer.load.ll
llvm/test/CodeGen/ARM/atomic-op.ll
llvm/test/CodeGen/PowerPC/pr35688.ll
llvm/test/CodeGen/SystemZ/subregliveness-04.ll
llvm/test/CodeGen/X86/fold-tied-op.ll
llvm/test/CodeGen/X86/pr28444.ll