summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Hello
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-07-31 12:57:04 +0000
committerFlorian Hahn <flo@fhahn.com>2019-07-31 12:57:04 +0000
commitfa42f428583096aa1613021b727807fd61b3025a (patch)
tree82f054955477597e597dd1f7434489844781de47 /llvm/lib/Transforms/Hello
parent24ad2b5e7d8ceecb045bfc499107b9ed90439adb (diff)
downloadbcm5719-llvm-fa42f428583096aa1613021b727807fd61b3025a.tar.gz
bcm5719-llvm-fa42f428583096aa1613021b727807fd61b3025a.zip
[IPSCCP] Move callsite check to the beginning of the loop.
We have some code marks instructions with struct operands as overdefined, but if the instruction is a call to a function with tracked arguments, this breaks the assumption that the lattice values of all call sites are not overdefined and will be replaced by a constant. This also re-adds the assertion from D65222, with additionally skipping non-callsite uses. This patch should address the cases reported in which the assertion fired. Fixes PR42738. Reviewers: efriedma, davide Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D65439 llvm-svn: 367430
Diffstat (limited to 'llvm/lib/Transforms/Hello')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud