This is an archive of the discontinued LLVM Phabricator instance.

[MachineDCE] Predicated instructions shouldn't clear LivePhysRegs.
AbandonedPublic

Authored by kariddi on Apr 14 2020, 3:14 PM.

Details

Summary

Predicated instructions might not endup being executed. If that happens
they don't really kill the registers they right, so we can't DCE
instructions that are overwritten by potentially predicated
instructions. Fixing MachineDCE to reflect that.

Diff Detail