OSDN Git Service

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)
commit809cc972c8f368252faa7b834ac4d00720ed941a
treea95564c9cd79c8299efcca0c25f9a8dcb27e93b6
parent21339d63b93c584a9f00862329beecbd5a96eb5b
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342133 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/call-argument-types.ll