[PATCH] D78175: [MachineDCE] Predicated instructions shouldn't clear LivePhysRegs.

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 11:30:31 PDT 2020


kparzysz added a comment.

This isn't completely correct.  Predicated instructions should have implicit use of the register that they are modifying (unless it's undefined).  The `cmoveit` doesn't have it. How did you get this MIR?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78175





More information about the llvm-commits mailing list