aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorTim Renouf <tpr.llvm@botech.co.uk>2017-10-12 16:16:41 +0000
committerTim Renouf <tpr.llvm@botech.co.uk>2017-10-12 16:16:41 +0000
commitc8ffffe4625bc0b0f790824eaa2a591943dff862 (patch)
treef0c8c34ad492ba96e555fb009245bc688f90fdc4 /llvm/lib/IR/Function.cpp
parent3e0199f7ebab06654168e72add49b7f8eed75b27 (diff)
downloadllvm-c8ffffe4625bc0b0f790824eaa2a591943dff862.zip
llvm-c8ffffe4625bc0b0f790824eaa2a591943dff862.tar.gz
llvm-c8ffffe4625bc0b0f790824eaa2a591943dff862.tar.bz2
[AMDGPU] For amdpal, widen interpolation mode workaround
Summary: The interpolation mode workaround ensures that at least one interpolation mode is enabled in PSInputAddr. It does not also check PSInputEna on the basis that the user might enable bits in that depending on run-time state. However, for amdpal os type, the user does not enable some bits after compilation based on run-time states; the register values being generated here are the final ones set in the hardware. Therefore, apply the workaround to PSInputAddr and PSInputEnable together. (The case where a bit is set in PSInputAddr but not in PSInputEnable is where the frontend set up an input arg for a particular interpolation mode, but nothing uses that input arg. Really we should have an earlier pass that removes such an arg.) Reviewers: arsenm, nhaehnle, dstuttard Subscribers: kzhuravl, wdng, yaxunl, t-tye, llvm-commits Differential Revision: https://reviews.llvm.org/D37758 llvm-svn: 315591
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions