summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-06 02:13:25 +0000
committerChris Lattner <sabre@nondot.org>2004-04-06 02:13:25 +0000
commitb49608afadf2de5a8f7750f23c348c360b6c554b (patch)
treeaf2fec308954d704d29aabf6c540a855602e6966 /llvm/lib
parent996e667ad45602a36a8dc7a1f1fa5c591b9c7ce6 (diff)
downloadbcm5719-llvm-b49608afadf2de5a8f7750f23c348c360b6c554b.tar.gz
bcm5719-llvm-b49608afadf2de5a8f7750f23c348c360b6c554b.zip
Fix typeo
llvm-svn: 12684
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/InstSelectSimple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp
index 862a385300e..ac5c6ec158e 100644
--- a/llvm/lib/Target/X86/InstSelectSimple.cpp
+++ b/llvm/lib/Target/X86/InstSelectSimple.cpp
@@ -1782,7 +1782,7 @@ void ISel::emitSimpleBinaryOperation(MachineBasicBlock *MBB,
}
// Finally, handle the general case now.
- static const unsigned OpcodeTab[][4] = {
+ static const unsigned OpcodeTab[][5] = {
// Arithmetic operators
{ X86::ADD8rr, X86::ADD16rr, X86::ADD32rr, X86::FpADD, X86::ADD32rr },// ADD
{ X86::SUB8rr, X86::SUB16rr, X86::SUB32rr, X86::FpSUB, X86::SUB32rr },// SUB
OpenPOWER on IntegriCloud