aboutsummaryrefslogtreecommitdiffstats
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
commit7ba92306db91d45eec4fafe9aa8a6fb4af276c50 (patch)
treeaa928c4cdabc3e59da71c0cfbd833cde9f5e0550
parentab1d0e0963716a3cb6a74732e38c67f7f5e0b432 (diff)
downloadexternal_llvm-7ba92306db91d45eec4fafe9aa8a6fb4af276c50.zip
external_llvm-7ba92306db91d45eec4fafe9aa8a6fb4af276c50.tar.gz
external_llvm-7ba92306db91d45eec4fafe9aa8a6fb4af276c50.tar.bz2
Fix typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12684 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/InstSelectSimple.cpp2
-rw-r--r--lib/Target/X86/X86ISelSimple.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp
index 862a385..ac5c6ec 100644
--- a/lib/Target/X86/InstSelectSimple.cpp
+++ b/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
diff --git a/lib/Target/X86/X86ISelSimple.cpp b/lib/Target/X86/X86ISelSimple.cpp
index 862a385..ac5c6ec 100644
--- a/lib/Target/X86/X86ISelSimple.cpp
+++ b/lib/Target/X86/X86ISelSimple.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