This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Avoid crash on asm with lying result types
ClosedPublic

Authored by arsenm on Jan 19 2022, 3:01 PM.

Details

Summary

The physical register in the asm has the wrong type for the declared
IR. It seems to work in the DAG by extracting the 4 elements that are
defined in the IR from the register, but that isn't handled here. This
doesn't seem to be a well tested path since other mismatched cases are
crashing the DAG asm handling.

Diff Detail

Event Timeline

arsenm created this revision.Jan 19 2022, 3:01 PM
arsenm requested review of this revision.Jan 19 2022, 3:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 19 2022, 3:01 PM
Herald added a subscriber: wdng. · View Herald Transcript
This revision is now accepted and ready to land.Jan 21 2022, 9:09 AM