summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix/Signals.inc
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2019-07-12 15:59:40 +0000
committerJay Foad <jay.foad@gmail.com>2019-07-12 15:59:40 +0000
commit27ec195f391cf1bcf39fe25f345bc63061566c3c (patch)
treee0f66473063bdf2ced10affcf6292cc96cc49b34 /llvm/lib/Support/Unix/Signals.inc
parentf625a8a250b393b29a277ca790f6bc2fce7aa192 (diff)
downloadbcm5719-llvm-27ec195f391cf1bcf39fe25f345bc63061566c3c.tar.gz
bcm5719-llvm-27ec195f391cf1bcf39fe25f345bc63061566c3c.zip
[AMDGPU] Fix DPP combiner check for exec modification
Summary: r363675 changed the exec modification helper function, now called execMayBeModifiedBeforeUse, so that if no UseMI is specified it checks all instructions in the basic block, even beyond the last use. That meant that the DPP combiner no longer worked in any basic block that ended with a control flow instruction, and in particular it didn't work on code sequences generated by the atomic optimizer. Fix it by reinstating the old behaviour but in a new helper function execMayBeModifiedBeforeAnyUse, and limiting the number of instructions scanned. Reviewers: arsenm, vpykhtin Subscribers: kzhuravl, nemanjai, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kbarton, MaskRay, jfb, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64393 llvm-svn: 365910
Diffstat (limited to 'llvm/lib/Support/Unix/Signals.inc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud