This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Look through casts when legalizing vector indexing
ClosedPublic

Authored by arsenm on Feb 6 2020, 2:09 PM.

Details

Reviewers
kerbowa
nhaehnle
Summary

We were failing to find constants that were casted. I feel like the
artifact combiner should have folded the constant in the trunc before
the custom lowering, but that doesn't happen.

Diff Detail

Event Timeline

arsenm created this revision.Feb 6 2020, 2:09 PM
kerbowa accepted this revision.Feb 8 2020, 10:51 PM

LGTM

This revision is now accepted and ready to land.Feb 8 2020, 10:51 PM