This is an archive of the discontinued LLVM Phabricator instance.

R600: Check if a sextload should be used for parameter loads.
ClosedPublic

Authored by arsenm on Apr 5 2014, 2:55 PM.

Details

Reviewers
arsenm
Summary

Through some oddity where truncate (sextload x) isn't folded into
an anyextload for vectors, the sextload remains if the
vector isn't immediately scalarized. This keeps the expected
zextload instructions in the kernel-args test when small type
vectors aren't scalarized.

R600 should do the same thing, but the handling of anything other than sextload on parameters
for vectors seems produce invalid code

Diff Detail

Event Timeline

arsenm accepted this revision.Apr 11 2014, 2:07 PM

r206070

arsenm closed this revision.Apr 11 2014, 2:07 PM