[PATCH] D120815: [AMDGPU] Fix deleting of move-immediate instructions after folding

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 08:00:48 PST 2022


foad added a comment.

In D120815#3354418 <https://reviews.llvm.org/D120815#3354418>, @arsenm wrote:

> Can we maybe drop one of the extra runs of machine dce?

Machine DCE is run right after Peephole Optimizer, but that's done in generic code (TargetPassConfig::addMachineSSAOptimization). I don't see how this would affect any of the other runs of Machine DCE, that are added by the AMDGPU backend.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120815/new/

https://reviews.llvm.org/D120815



More information about the llvm-commits mailing list