From: Chris Lattner Date: Tue, 6 Apr 2004 02:13:25 +0000 (+0000) Subject: Fix typeo X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7ba92306db91d45eec4fafe9aa8a6fb4af276c50;p=oota-llvm.git Fix typeo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12684 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp index 862a385300e..ac5c6ec158e 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 862a385300e..ac5c6ec158e 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