Revert "[MachineCSE] Allow PRE of instructions that read physical registers"
authorJohn Brawn <john.brawn@arm.com>
Fri, 28 Oct 2022 13:38:33 +0000 (14:38 +0100)
committerJohn Brawn <john.brawn@arm.com>
Fri, 28 Oct 2022 13:39:56 +0000 (14:39 +0100)
commit7a7b36e96b948651ba7184b9190a3af19330f4f9
treedeb561ca12ad9e336ec9265f40eede7f49501595
parent1e7c1dd67cd63a6b14d5d4bd8e0e195e9a910f7b
Revert "[MachineCSE] Allow PRE of instructions that read physical registers"

This reverts commit 628467e53f4ceecd2b5f0797f07591c66d9d9d2a.

This is causing a miscompile in ffmpeg when compiled for armv7.
llvm/lib/CodeGen/MachineCSE.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/hip.extern.shared.array.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll
llvm/test/CodeGen/AMDGPU/selectcc-opt.ll
llvm/test/CodeGen/PowerPC/machine-cse-rm-pre.mir [deleted file]
llvm/test/CodeGen/Thumb2/LowOverheadLoops/memcall.ll