diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2020-01-16 14:01:27 +0000 |
---|---|---|
committer | Jeremy Morse <jeremy.morse@sony.com> | 2020-01-16 14:01:27 +0000 |
commit | c969335abdb22284691e7cb2894820350cfe422b (patch) | |
tree | 56eb2a82d29cc441b3636c6bdfde466a5dbc40d9 /llvm/lib/CodeGen/PHIElimination.cpp | |
parent | d36b2649e5e4d90a3f439e2a16057cd75566c669 (diff) | |
download | llvm-c969335abdb22284691e7cb2894820350cfe422b.zip llvm-c969335abdb22284691e7cb2894820350cfe422b.tar.gz llvm-c969335abdb22284691e7cb2894820350cfe422b.tar.bz2 |
Revert "[PHIEliminate] Move dbg values after phi and label"
Testing compiler-rt, a new assertion failure occurs when building
the GwpAsanTestObjects object. I'm uploading a reproducer to D70597.
This reverts commit 75188b01e9af3a89639d84be912f84610d6885ba.
Diffstat (limited to 'llvm/lib/CodeGen/PHIElimination.cpp')
-rw-r--r-- | llvm/lib/CodeGen/PHIElimination.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp index 1ed479d..4dd4c4b 100644 --- a/llvm/lib/CodeGen/PHIElimination.cpp +++ b/llvm/lib/CodeGen/PHIElimination.cpp @@ -210,11 +210,6 @@ bool PHIElimination::EliminatePHINodes(MachineFunction &MF, MachineBasicBlock::iterator LastPHIIt = std::prev(MBB.SkipPHIsAndLabels(MBB.begin())); - assert((LastPHIIt == skipDebugInstructionsBackward( - std::prev(MBB.SkipPHIsLabelsAndDebug(MBB.begin())), - MBB.begin())) && - "There must be no DBG_VALUEs between PHI and LABEL"); - while (MBB.front().isPHI()) LowerPHINode(MBB, LastPHIIt); |