commit | 664e38cb13821098174475b39625f2216ae3d656 | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Wed May 30 16:17:51 2018 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Wed May 30 16:17:51 2018 +0000 |
tree | d83766e2d7157c159c31a4043f56d7098b02b160 | |
parent | a85653ea2519ad4e47ebe6c88dacfec5ed104f8e [diff] |
AMDGPU: Use better alignment for kernarg lowering 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333558 91177308-0d34-0410-b5e6-96231b3b80d8