This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Skip some instructions that shouldn't affect shrink-wrapping
ClosedPublic

Authored by thegameg on Jan 16 2018, 10:52 AM.

Details

Summary

r320606 checked for MI.isMetaInstruction which skips all DBG_VALUEs.

This also skips IMPLICIT_DEFs and other instructions that may def / read a register.

Diff Detail

Repository
rL LLVM

Event Timeline

thegameg created this revision.Jan 16 2018, 10:52 AM
MatzeB accepted this revision.Jan 16 2018, 10:54 AM

LGTM, thanks.

This revision is now accepted and ready to land.Jan 16 2018, 10:54 AM
This revision was automatically updated to reflect the committed changes.