diff options
author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2018-09-30 17:26:58 +0000 |
---|---|---|
committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2018-09-30 17:26:58 +0000 |
commit | c2fc53ac902a5c36b0acde984055043111e515f6 (patch) | |
tree | 4611976e4b6491d67189643b9f5454cca70fe95c /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | 4af7f57bdf94fa24ffab5a4b0a8570dfafc8688e (diff) | |
download | bcm5719-llvm-c2fc53ac902a5c36b0acde984055043111e515f6.tar.gz bcm5719-llvm-c2fc53ac902a5c36b0acde984055043111e515f6.zip |
[PHIElimination] Lower a PHI node with only undef uses as IMPLICIT_DEF
Summary:
The lowering of PHI nodes used to detect if all inputs originated
from IMPLICIT_DEF's. If so the PHI node was replaced by an
IMPLICIT_DEF. Now we also consider undef uses when checking the
inputs. So if all inputs are implicitly defined or undef we
lower the PHI to an IMPLICIT_DEF. This makes
PHIElimination::LowerPHINode more consistent as it checks
both implicit and undef properties at later stages.
Reviewers: MatzeB, tstellar
Reviewed By: MatzeB
Subscribers: jvesely, nhaehnle, llvm-commits
Differential Revision: https://reviews.llvm.org/D52558
llvm-svn: 343417
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions