[PATCH] D39970: AMDGPU: Fix producing saveexec when the copy is spilled
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 13 12:09:05 PST 2017
arsenm created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl, qcolombet.
If the register from the copy from exec was spilled,
the copy before the spill was deleted leaving a spill
of undefined register verifier error and miscompiling.
Check for other use instructions of the copy register
https://reviews.llvm.org/D39970
Files:
lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
test/CodeGen/AMDGPU/undefined-physreg-sgpr-spill.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39970.122696.patch
Type: text/x-patch
Size: 7616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171113/4cc9f5c0/attachment.bin>
More information about the llvm-commits
mailing list