This is an archive of the discontinued LLVM Phabricator instance.

DAG/GlobalISel: Correct type profile of bitcount ops
ClosedPublic

Authored by arsenm on Sep 8 2019, 12:17 PM.

Details

Summary

The result integer does not need to be the same width as the input.
AMDGPU, NVPTX, and Hexagon all have patterns working around the types
matching. GlobalISel defines these as being different type indexes.

Diff Detail

Event Timeline

arsenm created this revision.Sep 8 2019, 12:17 PM
paquette accepted this revision.Sep 12 2019, 9:18 AM

I think this seems reasonable.

This revision is now accepted and ready to land.Sep 12 2019, 9:18 AM
arsenm closed this revision.Sep 12 2019, 5:13 PM

r371797