diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2015-12-19 02:54:15 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2015-12-19 02:54:15 +0000 |
commit | ffc1a5aef77a61bf1c6a38a6c1700e0a5799a3f1 (patch) | |
tree | 3b4b0d6e39d5dad39441c031cd55f86d50395fe5 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 27ab2d759f4612126ea3ed9698ff7466804cf7bc (diff) | |
download | llvm-ffc1a5aef77a61bf1c6a38a6c1700e0a5799a3f1.zip llvm-ffc1a5aef77a61bf1c6a38a6c1700e0a5799a3f1.tar.gz llvm-ffc1a5aef77a61bf1c6a38a6c1700e0a5799a3f1.tar.bz2 |
AMDGPU/SI: Fix implemenation of isSourceOfDivergence() for graphics shaders
Summary:
The analysis of shader inputs was completely wrong. We were passing the
wrong index to AttributeSet::hasAttribute() and the logic for which
inputs where in SGPRs was wrong too.
Reviewers: arsenm
Subscribers: arsenm, llvm-commits
Differential Revision: http://reviews.llvm.org/D15608
llvm-svn: 256082
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions