This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Fix ValueMapping tables for i1
ClosedPublic

Authored by arsenm on Dec 14 2018, 12:16 AM.

Details

Reviewers
tstellar
Summary

This was incorrectly selecting SGPR for any i1 values,
e.g. G_TRUNC to i1 from a VGPR was still an SGPR.

Diff Detail

Event Timeline

arsenm created this revision.Dec 14 2018, 12:16 AM
arsenm marked an inline comment as done.Dec 14 2018, 12:17 AM
arsenm added inline comments.
lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def
101–104

This part could technically go with another patch

tstellar accepted this revision.Dec 14 2018, 6:47 AM

LGTM.

This revision is now accepted and ready to land.Dec 14 2018, 6:47 AM
arsenm updated this revision to Diff 178412.Dec 16 2018, 3:43 PM

Another attempt

arsenm closed this revision.Dec 19 2018, 5:37 PM

r349715