diff options
| author | Tom Stellard <thomas.stellard@amd.com> | 2016-02-11 21:45:07 +0000 |
|---|---|---|
| committer | Tom Stellard <thomas.stellard@amd.com> | 2016-02-11 21:45:07 +0000 |
| commit | 1397d49ef5772833179e9edb53697c156e074dcc (patch) | |
| tree | 2ca0f4291c75564ca551561dfc7ecb76f418d1ca /llvm/lib/Transforms/Scalar/Scalarizer.cpp | |
| parent | f9de0d6904cde91fb4b9c7701be2f907717f2c07 (diff) | |
| download | bcm5719-llvm-1397d49ef5772833179e9edb53697c156e074dcc.tar.gz bcm5719-llvm-1397d49ef5772833179e9edb53697c156e074dcc.zip | |
AMDGPU/SI: Make sure MIMG descriptors and samplers stay in SGPRs
Summary:
It's possible to have resource descriptors and samplers stored in
VGPRs, either by a VMEM instruction or in the case of samplers,
floating-point calculations. When this happens, we need to use
v_readfirstlane to copy these values back to sgprs.
Reviewers: mareko, arsenm
Subscribers: arsenm, llvm-commits
Differential Revision: http://reviews.llvm.org/D17102
llvm-svn: 260599
Diffstat (limited to 'llvm/lib/Transforms/Scalar/Scalarizer.cpp')
0 files changed, 0 insertions, 0 deletions

