This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Work around forming illegal zextload after legalize
ClosedPublic

Authored by arsenm on Apr 5 2020, 3:35 PM.

Details

Summary

Selection would fail after the post legalize combiner put an illegal
zextload back together.

The base combiner has parameter to only allow legal operations, but
they appear to not be used. I also don't see a nice way to remove a
single entry from all_combines, so just hack around this.

Diff Detail

Event Timeline

arsenm created this revision.Apr 5 2020, 3:35 PM
aemerson accepted this revision.Apr 10 2020, 10:48 PM

Yeah it would be nice to have a set difference function for these.

This revision is now accepted and ready to land.Apr 10 2020, 10:48 PM