mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Fix a bug in my previous checkin
llvm-svn: 23082
This commit is contained in:
parent
a31708e6b3
commit
439ef36320
@ -1976,7 +1976,7 @@ pC = pA OR pB
|
|||||||
}
|
}
|
||||||
} else if(ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(Address)) {
|
} else if(ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(Address)) {
|
||||||
unsigned CPIdx = BB->getParent()->getConstantPool()->
|
unsigned CPIdx = BB->getParent()->getConstantPool()->
|
||||||
getConstantPoolIndex(cast<ConstantPoolSDNode>(N)->get());
|
getConstantPoolIndex(CP->get());
|
||||||
Select(Chain);
|
Select(Chain);
|
||||||
IA64Lowering.restoreGP(BB);
|
IA64Lowering.restoreGP(BB);
|
||||||
unsigned dummy = MakeReg(MVT::i64);
|
unsigned dummy = MakeReg(MVT::i64);
|
||||||
|
@ -3374,7 +3374,7 @@ unsigned ISel::SelectExpr(SDOperand N) {
|
|||||||
assert(cast<VTSDNode>(Node->getOperand(3))->getVT() == MVT::f32 &&
|
assert(cast<VTSDNode>(Node->getOperand(3))->getVT() == MVT::f32 &&
|
||||||
"Bad EXTLOAD!");
|
"Bad EXTLOAD!");
|
||||||
unsigned CPIdx = BB->getParent()->getConstantPool()->
|
unsigned CPIdx = BB->getParent()->getConstantPool()->
|
||||||
getConstantPoolIndex(cast<ConstantPoolSDNode>(N)->get());
|
getConstantPoolIndex(CP->get());
|
||||||
|
|
||||||
addConstantPoolReference(BuildMI(BB, X86::FLD32m, 4, Result), CPIdx);
|
addConstantPoolReference(BuildMI(BB, X86::FLD32m, 4, Result), CPIdx);
|
||||||
return Result;
|
return Result;
|
||||||
|
Loading…
Reference in New Issue
Block a user