mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
Reset "undef" flag when coalescing subregister into whole register
llvm-svn: 279344
This commit is contained in:
parent
4b401c9e91
commit
4532cc9307
@ -975,6 +975,7 @@ bool RegisterCoalescer::reMaterializeTrivialDef(const CoalescerPair &CP,
|
||||
NewRC = CommonRC;
|
||||
DstIdx = 0;
|
||||
DefMO.setSubReg(0);
|
||||
DefMO.setIsUndef(false); // Only subregs can have def+undef.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user