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