This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Use better alignment for kernarg lowering
ClosedPublic

Authored by arsenm on May 25 2018, 12:23 PM.

Details

Summary

This was just emitting loads with the ABI alignment
for the raw type. The true alignment is often better,
especially when an illegal vector type was scalarized.
The better alignment allows using a scalar load
more often.

Diff Detail

Event Timeline

arsenm created this revision.May 25 2018, 12:23 PM
This revision is now accepted and ready to land.May 25 2018, 12:38 PM
arsenm closed this revision.May 30 2018, 9:21 AM

r333558