aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2018-07-30 09:23:59 +0000
committerNicolai Haehnle <nhaehnle@gmail.com>2018-07-30 09:23:59 +0000
commit7f0d05d53219716394760dd16af9562d36ab96d6 (patch)
tree93c11edced8112089d1101876a7b8743876b4051 /clang/lib/Serialization/ModuleManager.cpp
parenta692120cb76b25d1a683f7479b7549b455015951 (diff)
downloadllvm-7f0d05d53219716394760dd16af9562d36ab96d6.zip
llvm-7f0d05d53219716394760dd16af9562d36ab96d6.tar.gz
llvm-7f0d05d53219716394760dd16af9562d36ab96d6.tar.bz2
AMDGPU: Force skip over s_sendmsg and exp instructions
Summary: These instructions interact with hardware blocks outside the shader core, and they can have "scalar" side effects even when EXEC = 0. We don't want these scalar side effects to occur when all lanes want to skip these instructions, so always add the execz skip branch instruction for basic blocks that contain them. Also ensure that we skip scalar stores / atomics, though we don't code-gen those yet. Reviewers: arsenm, rampitec Subscribers: kzhuravl, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits Differential Revision: https://reviews.llvm.org/D48431 Change-Id: Ieaeb58352e2789ffd64745603c14970c60819d44 llvm-svn: 338235
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions