diff options
author | Florian Hahn <florian.hahn@arm.com> | 2018-04-19 15:05:47 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2018-04-19 15:05:47 +0000 |
commit | b789165e6bd13757da0243618757211d9530e078 (patch) | |
tree | 4f8e29a6a726c0ea502c87cc7164a36b58536607 /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp | |
parent | d92c37e0909e7b72fd13e7fbb67151664d5a9002 (diff) | |
download | llvm-b789165e6bd13757da0243618757211d9530e078.zip llvm-b789165e6bd13757da0243618757211d9530e078.tar.gz llvm-b789165e6bd13757da0243618757211d9530e078.tar.bz2 |
[NewGVN] Add ops as dependency if we cannot find a leader for ValueOp.
If those operands change, we might find a leader for ValueOp, which
could enable new phi-of-op creation.
This fixes a case where we missed creating a phi-of-ops node. With D43865
and this patch, bootstrapping clang/llvm works with -enable-newgvn, whereas
without it, the "value changed after iteration" assertion is triggered.
Reviewers: dberlin, davide
Reviewed By: dberlin
Differential Revision: https://reviews.llvm.org/D42180
llvm-svn: 330334
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions