[all-commits] [llvm/llvm-project] 44c4ba: [MachineSink] Fix for breaking phi edges with inst...
David Green via All-commits
all-commits at lists.llvm.org
Thu Apr 16 08:42:43 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 44c4ba34d001dcf538d7396007b5611d6f697f86
https://github.com/llvm/llvm-project/commit/44c4ba34d001dcf538d7396007b5611d6f697f86
Author: David Green <david.green at arm.com>
Date: 2020-04-16 (Thu, 16 Apr 2020)
Changed paths:
M llvm/lib/CodeGen/MachineSink.cpp
A llvm/test/CodeGen/ARM/machine-sink-multidef.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list