This is an archive of the discontinued LLVM Phabricator instance.

[LiveVariables] Skip verification of kills inside bundles
ClosedPublic

Authored by foad on Sep 29 2021, 5:13 AM.

Details

Summary

LiveVariables does not examine the contents of bundles, so
MachineVerifier should not expect it to know about kill flags on
operands of instructions inside a bundle.

With this fix we can enable machine verification after running the
LiveVariables analysis. Doing this does not show any problems in
check-llvm in an LLVM_ENABLE_EXPENSIVE_CHECKS build.

Diff Detail

Event Timeline

foad created this revision.Sep 29 2021, 5:13 AM
foad requested review of this revision.Sep 29 2021, 5:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 29 2021, 5:13 AM
MatzeB accepted this revision.Oct 1 2021, 9:06 AM

Fine with me. LiveVariables are deprecated anyway. LGTM

This revision is now accepted and ready to land.Oct 1 2021, 9:06 AM
This revision was landed with ongoing or failed builds.Oct 1 2021, 10:16 AM
This revision was automatically updated to reflect the committed changes.