diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-25 00:15:18 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-25 00:15:18 +0000 |
commit | adff18518ab912e4ab7eeb46dea3ab121ee677ea (patch) | |
tree | 59aadd5d0fb06ddd3eed2861a9e0ecb5e9d6a927 /llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp | |
parent | 70affbd988cffc656ac00f32608cb585d6c284c0 (diff) | |
download | bcm5719-llvm-adff18518ab912e4ab7eeb46dea3ab121ee677ea.tar.gz bcm5719-llvm-adff18518ab912e4ab7eeb46dea3ab121ee677ea.zip |
Disable invalid coalescer assertion.
llvm-svn: 104574
Diffstat (limited to 'llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp index 93f0cb0f158..ed3c243ff3e 100644 --- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp +++ b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp @@ -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); |