[PATCH] D58115: [Codegen] Remove dead flags on Physical Defs in machine cse

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 12 05:11:08 PST 2019


dmgreen created this revision.
dmgreen added reviewers: efriedma, MatzeB.

We may leave behind incorrect dead flags on instructions that are CSE'd. Make
sure we remove the dead flags on these instructions to prevent other incorrect
code motion.


https://reviews.llvm.org/D58115

Files:
  lib/CodeGen/MachineCSE.cpp
  test/CodeGen/Thumb/machine-cse-deadreg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58115.186443.patch
Type: text/x-patch
Size: 8892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190212/12a8ac48/attachment.bin>


More information about the llvm-commits mailing list