AMDGPU: Fix not preserving alignent in call setups
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 13 Sep 2018 12:14:31 +0000 (12:14 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 13 Sep 2018 12:14:31 +0000 (12:14 +0000)
commitff987ac6ea5a0d45d85e5da5161eb6945d27d421
tree2ddfa2c0bf4e64204beb9902ed1a25a445aa2070
parent842cda631238e295f0e2e78893459a3d42de1067
AMDGPU: Fix not preserving alignent in call setups

If an argument was passed on the stack, this
was using the default alignment.

I'm not sure there's an observable change from this. This
was observable due to bugs in expansion of unaligned
loads and stores, but since that is fixed I don't think
this matters much.

llvm-svn: 342133
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/call-argument-types.ll