[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 26 10:18:55 PDT 2005
Changes in directory llvm/lib/Target/IA64:
IA64ISelPattern.cpp updated: 1.62 -> 1.63
---
Log message:
Fix a bug in my previous checkin
---
Diffs of the changes: (+1 -1)
IA64ISelPattern.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/IA64/IA64ISelPattern.cpp
diff -u llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.62 llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.63
--- llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.62 Fri Aug 26 12:15:30 2005
+++ llvm/lib/Target/IA64/IA64ISelPattern.cpp Fri Aug 26 12:18:44 2005
@@ -1976,7 +1976,7 @@
}
} 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);
More information about the llvm-commits
mailing list