This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Rewrite getLCMType
ClosedPublic

Authored by arsenm on Jun 8 2020, 6:49 PM.

Details

Summary

Try to make the behavior more consistent with getGCDType, and bias
towards returning something closer to the source type whenever there's
an ambiguity.

Diff Detail

Event Timeline

arsenm created this revision.Jun 8 2020, 6:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 8 2020, 6:50 PM
arsenm updated this revision to Diff 269405.Jun 8 2020, 7:42 PM

Make source-preferring behavior more consistent

This revision is now accepted and ready to land.Jun 19 2020, 1:49 PM