[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Jan 18 09:35:43 PST 2005
Changes in directory llvm/lib/Target/X86:
X86ISelPattern.cpp updated: 1.72 -> 1.73
---
Log message:
Fix 124.m88ksim.
---
Diffs of the changes: (+3 -0)
Index: llvm/lib/Target/X86/X86ISelPattern.cpp
diff -u llvm/lib/Target/X86/X86ISelPattern.cpp:1.72 llvm/lib/Target/X86/X86ISelPattern.cpp:1.73
--- llvm/lib/Target/X86/X86ISelPattern.cpp:1.72 Mon Jan 17 22:18:32 2005
+++ llvm/lib/Target/X86/X86ISelPattern.cpp Tue Jan 18 11:35:28 2005
@@ -2511,6 +2511,9 @@
case MVT::i32: Opc = TabPtr[5]; break;
}
+ // Table entry doesn't exist?
+ if (Opc == 0) return false;
+
if (!ExprMap.insert(std::make_pair(TheLoad.getValue(1), 1)).second)
assert(0 && "Already emitted?");
Select(Chain);
More information about the llvm-commits
mailing list