This is an archive of the discontinued LLVM Phabricator instance.

MachineVerifier: undef PHI args do not need to be alive
ClosedPublic

Authored by MatzeB on Dec 1 2017, 4:33 PM.

Details

Summary

Undef phi operands don't need to be live.

I found this while manually crafting .mir tests, I haven't seen it in practical cases yet. Anyway it's the right thing to do.

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB created this revision.Dec 1 2017, 4:33 PM
qcolombet accepted this revision.Dec 4 2017, 10:00 AM
This revision is now accepted and ready to land.Dec 4 2017, 10:00 AM
This revision was automatically updated to reflect the committed changes.