mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 23:43:50 +00:00
Fix a bug in my previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23082 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5839bf2b3b
commit
143b675393
@ -1976,7 +1976,7 @@ pC = pA OR pB
|
||||
}
|
||||
} else if(ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(Address)) {
|
||||
unsigned CPIdx = BB->getParent()->getConstantPool()->
|
||||
getConstantPoolIndex(cast<ConstantPoolSDNode>(N)->get());
|
||||
getConstantPoolIndex(CP->get());
|
||||
Select(Chain);
|
||||
IA64Lowering.restoreGP(BB);
|
||||
unsigned dummy = MakeReg(MVT::i64);
|
||||
|
@ -3374,7 +3374,7 @@ unsigned ISel::SelectExpr(SDOperand N) {
|
||||
assert(cast<VTSDNode>(Node->getOperand(3))->getVT() == MVT::f32 &&
|
||||
"Bad EXTLOAD!");
|
||||
unsigned CPIdx = BB->getParent()->getConstantPool()->
|
||||
getConstantPoolIndex(cast<ConstantPoolSDNode>(N)->get());
|
||||
getConstantPoolIndex(CP->get());
|
||||
|
||||
addConstantPoolReference(BuildMI(BB, X86::FLD32m, 4, Result), CPIdx);
|
||||
return Result;
|
||||
|
Loading…
Reference in New Issue
Block a user