OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abce77b
)
Fix 124.m88ksim.
author
Chris Lattner
<sabre@nondot.org>
Tue, 18 Jan 2005 17:35:28 +0000
(17:35 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 18 Jan 2005 17:35:28 +0000
(17:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19667
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelPattern.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelPattern.cpp
b/lib/Target/X86/X86ISelPattern.cpp
index
4db13aa
..
826023d
100644
(file)
--- a/
lib/Target/X86/X86ISelPattern.cpp
+++ b/
lib/Target/X86/X86ISelPattern.cpp
@@
-2511,6
+2511,9
@@
bool ISel::TryToFoldLoadOpStore(SDNode *Node) {
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);