mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 23:20:54 +00:00
Disable invalid coalescer assertion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104574 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e00fa64c16
commit
b7a3170917
@ -853,8 +853,11 @@ SimpleRegisterCoalescing::UpdateRegDefsUses(unsigned SrcReg, unsigned DstReg,
|
||||
// EAX: 1 -> AL, 2 -> AX
|
||||
// So RAX's sub-register 2 is AX, RAX's sub-regsiter 3 is EAX, whose
|
||||
// sub-register 2 is also AX.
|
||||
//
|
||||
// FIXME: Properly compose subreg indices for all targets.
|
||||
//
|
||||
if (SubIdx && OldSubIdx && SubIdx != OldSubIdx)
|
||||
assert(OldSubIdx < SubIdx && "Conflicting sub-register index!");
|
||||
;
|
||||
else if (SubIdx)
|
||||
O.setSubReg(SubIdx);
|
||||
O.setReg(DstReg);
|
||||
|
Loading…
Reference in New Issue
Block a user