This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix sext_inreg for i1 in i16
ClosedPublic

Authored by arsenm on Dec 17 2016, 12:22 AM.

Details

Summary

This produces worse code when i16 is legal, mostly
due to combines getting confused by conversions inserted
for uniform 16-bit operations.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 81839.Dec 17 2016, 12:22 AM
arsenm retitled this revision from to AMDGPU: Fix sext_inreg for i1 in i16.
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
arsenm accepted this revision.Jan 11 2017, 2:50 PM
arsenm added a reviewer: arsenm.

r291717

This revision is now accepted and ready to land.Jan 11 2017, 2:50 PM
arsenm closed this revision.Jan 11 2017, 2:50 PM