[PATCH] D48431: AMDGPU: Force skip over s_sendmsg and exp instructions
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 21 07:14:52 PDT 2018
nhaehnle created this revision.
nhaehnle added reviewers: arsenm, rampitec.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, wdng, kzhuravl.
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.
Change-Id: Ieaeb58352e2789ffd64745603c14970c60819d44
Repository:
rL LLVM
https://reviews.llvm.org/D48431
Files:
lib/Target/AMDGPU/SIInsertSkips.cpp
test/CodeGen/AMDGPU/llvm.amdgcn.exp.ll
test/CodeGen/AMDGPU/llvm.amdgcn.sendmsg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48431.152293.patch
Type: text/x-patch
Size: 3608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180621/b3835e03/attachment.bin>
More information about the llvm-commits
mailing list