From: Evan Cheng Date: Sat, 12 Dec 2009 18:51:56 +0000 (+0000) Subject: Fix an obvious bug. No test case since LEA16r is not being used. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=15b0d97068560cd7564cf4f975c2cbc1f5398102;p=oota-llvm.git Fix an obvious bug. No test case since LEA16r is not being used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91219 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 90ef1f4f1f0..f4a201c4b08 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -816,7 +816,7 @@ def BSR32rm : I<0xBD, MRMSrcMem, (outs GR32:$dst), (ins i32mem:$src), let neverHasSideEffects = 1 in def LEA16r : I<0x8D, MRMSrcMem, - (outs GR16:$dst), (ins i32mem:$src), + (outs GR16:$dst), (ins lea32mem:$src), "lea{w}\t{$src|$dst}, {$dst|$src}", []>, OpSize; let isReMaterializable = 1 in def LEA32r : I<0x8D, MRMSrcMem,