This is an archive of the discontinued LLVM Phabricator instance.

llvm-reduce: Fix asserting on undef virtual registers
ClosedPublic

Authored by arsenm on Apr 13 2022, 2:31 PM.

Details

Summary

This was only populating the virtual register map for def operands
that appeared in the function, but that may not exist if there are
only undef uses.

Diff Detail

Event Timeline

arsenm created this revision.Apr 13 2022, 2:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 2:31 PM
arsenm requested review of this revision.Apr 13 2022, 2:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 2:31 PM
Herald added a subscriber: wdng. · View Herald Transcript
aeubanks accepted this revision.Apr 13 2022, 2:36 PM
aeubanks added inline comments.
llvm/test/tools/llvm-reduce/mir/undef-virt-reg.mir
9

extra the

This revision is now accepted and ready to land.Apr 13 2022, 2:36 PM