Revert "[DAGCombiner] handle more store value forwarding"
authorArthur Eubanks <aeubanks@google.com>
Tue, 14 Feb 2023 03:00:32 +0000 (19:00 -0800)
committerArthur Eubanks <aeubanks@google.com>
Tue, 14 Feb 2023 03:07:28 +0000 (19:07 -0800)
commit7c6b46e87eafbb5150659f16cb211e5d732372ff
tree18e02a734081838834c882864a669ab209313c2f
parentac6219d0aeb7e3d2cd17ca4961a51649f0a297b2
Revert "[DAGCombiner] handle more store value forwarding"

This reverts commit f35a09daebd0a90daa536432e62a2476f708150d.

Causes miscompiles, see D138899
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AMDGPU/ctpop16.ll
llvm/test/CodeGen/AMDGPU/load-constant-i16.ll
llvm/test/CodeGen/AMDGPU/load-global-i16.ll
llvm/test/CodeGen/AMDGPU/shl.ll
llvm/test/CodeGen/AMDGPU/sra.ll
llvm/test/CodeGen/Mips/o32_cc_byval.ll
llvm/test/CodeGen/PowerPC/aix-cc-byval.ll
llvm/test/CodeGen/PowerPC/byval-lhs.ll
llvm/test/CodeGen/PowerPC/ppc64-byval-larger-struct.ll
llvm/test/CodeGen/X86/fastcc-byval.ll