Fix typeo
authorChris Lattner <sabre@nondot.org>
Tue, 6 Apr 2004 02:13:25 +0000 (02:13 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 6 Apr 2004 02:13:25 +0000 (02:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12684 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/InstSelectSimple.cpp
lib/Target/X86/X86ISelSimple.cpp

index 862a385300e914017e86a7c6d0479d00e9409306..ac5c6ec158e00591628806e62ad940b28334b508 100644 (file)
@@ -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
index 862a385300e914017e86a7c6d0479d00e9409306..ac5c6ec158e00591628806e62ad940b28334b508 100644 (file)
@@ -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