Backport [DAGCombine] Fix multi-use miscompile in load combine (#81586) (#81633)
commit1a69056c899a74c311d700bd0f5618cbfee23518
authorNikita Popov <npopov@redhat.com>
Fri, 16 Feb 2024 13:50:14 +0000 (16 14:50 +0100)
committerGitHub <noreply@github.com>
Fri, 16 Feb 2024 13:50:14 +0000 (16 05:50 -0800)
treedf27821a80f9f0891b5495e8ed4f6f1903165894
parentd01a4ab21044ceb20e39b783a5983a8d4cc93cb6
Backport [DAGCombine] Fix multi-use miscompile in load combine (#81586) (#81633)

(cherry picked from commit 25b9ed6e4964344e3710359bec4c831e5a8448b9)
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/load-combine.ll