diff options
author | David Green <david.green@arm.com> | 2020-04-16 15:23:49 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2020-04-16 16:42:07 +0100 |
commit | 44c4ba34d001dcf538d7396007b5611d6f697f86 (patch) | |
tree | 1fdb0d7179d55eefe867255a581f3116b9059bf8 /llvm/lib/Support/FileCheck.cpp | |
parent | ea88dd821253103a07f335449416e55034e7d8b3 (diff) | |
download | llvm-44c4ba34d001dcf538d7396007b5611d6f697f86.zip llvm-44c4ba34d001dcf538d7396007b5611d6f697f86.tar.gz llvm-44c4ba34d001dcf538d7396007b5611d6f697f86.tar.bz2 |
[MachineSink] Fix for breaking phi edges with instructions with multiple defs
BreakPHIEdge would be set based on whether the instruction needs to
insert a new critical edge to allow sinking into a block where the uses
are PHI nodes. But for instructions with multiple defs it would be reset
on the second def, allowing the instruciton to sink where it should not.
Fixes PR44981
Differential Revision: https://reviews.llvm.org/D78087
Diffstat (limited to 'llvm/lib/Support/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions