mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 02:59:15 +00:00
Never extend live ranges for <undef> uses.
llvm-svn: 135886
This commit is contained in:
parent
0e4f7f92a2
commit
e00fa0544e
@ -952,7 +952,7 @@ void SplitEditor::rewriteAssigned(bool ExtendRanges) {
|
||||
<< Idx << ':' << RegIdx << '\t' << *MI);
|
||||
|
||||
// Extend liveness to Idx if the instruction reads reg.
|
||||
if (!ExtendRanges)
|
||||
if (!ExtendRanges || MO.isUndef())
|
||||
continue;
|
||||
|
||||
// Skip instructions that don't read Reg.
|
||||
|
Loading…
Reference in New Issue
Block a user