AMDGPU/SI: Make sure llvm.amdgcn.implicitarg.ptr() is at least 4-byte aligned
authorTom Stellard <thomas.stellard@amd.com>
Wed, 31 Aug 2016 18:46:07 +0000 (18:46 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 31 Aug 2016 18:46:07 +0000 (18:46 +0000)
commitba5730884bf0cb345f03bedc4a8fce3f13b9962a
tree3071568c00cc47e77e2534d834f9c4b14cbbb737
parent1c06a73a7c300105e9f685d4388e0f2d6c0021a1
AMDGPU/SI: Make sure llvm.amdgcn.implicitarg.ptr() is at least 4-byte aligned

Summary: This fixes some OpenCV tests that were broken by libclc commit r276443.

Reviewers: arsenm, jvesely

Subscribers: arsenm, wdng, llvm-commits

Differential Revision: https://reviews.llvm.org/D24051

llvm-svn: 280274
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll