summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LazyValueInfo.cpp
diff options
context:
space:
mode:
authorChangpeng Fang <changpeng.fang@gmail.com>2018-02-16 16:31:30 +0000
committerChangpeng Fang <changpeng.fang@gmail.com>2018-02-16 16:31:30 +0000
commitda38b5fd49b210b0187b0fb0a3f74d48a5c5c883 (patch)
tree96687d5e4cd79b5acac6771a7521eea8d236255d /llvm/lib/Analysis/LazyValueInfo.cpp
parentff53a4a23467dde54233e1b7fe51e8049dfb6dda (diff)
downloadbcm5719-llvm-da38b5fd49b210b0187b0fb0a3f74d48a5c5c883.tar.gz
bcm5719-llvm-da38b5fd49b210b0187b0fb0a3f74d48a5c5c883.zip
AMDGPU/SI: Turn off GPR Indexing Mode immediately after the interested instruction.
Summary: In the current implementation of GPR Indexing Mode when the index is of non-uniform, the s_set_gpr_idx_off instruction is incorrectly inserted after the loop. This will lead the instructions with vgpr operands (v_readfirstlane for example) to read incorrect vgpr. In this patch, we fix the issue by inserting s_set_gpr_idx_on/off immediately around the interested instruction. Reviewers: rampitec Differential Revision: https://reviews.llvm.org/D43297 llvm-svn: 325355
Diffstat (limited to 'llvm/lib/Analysis/LazyValueInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud