[llvm] r199365 - Copy segment register when optimizing to MOV8ao8/MOV16ao16/MOV32ao32.
Chandler Carruth
chandlerc at google.com
Thu Jan 16 00:36:17 PST 2014
Ahh. Shows what I get for not paying attention the bots. =]
On Thu, Jan 16, 2014 at 12:35 AM, Craig Topper <craig.topper at gmail.com>wrote:
> Every build bot failing from the previous commit?
>
>
> On Thu, Jan 16, 2014 at 12:14 AM, Chandler Carruth <chandlerc at google.com>wrote:
>
>> Test case?
>>
>>
>> On Wed, Jan 15, 2014 at 11:57 PM, Craig Topper <craig.topper at gmail.com>wrote:
>>
>>> Author: ctopper
>>> Date: Thu Jan 16 01:57:45 2014
>>> New Revision: 199365
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=199365&view=rev
>>> Log:
>>> Copy segment register when optimizing to MOV8ao8/MOV16ao16/MOV32ao32.
>>>
>>> Modified:
>>> llvm/trunk/lib/Target/X86/X86MCInstLower.cpp
>>>
>>> Modified: llvm/trunk/lib/Target/X86/X86MCInstLower.cpp
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86MCInstLower.cpp?rev=199365&r1=199364&r2=199365&view=diff
>>>
>>> ==============================================================================
>>> --- llvm/trunk/lib/Target/X86/X86MCInstLower.cpp (original)
>>> +++ llvm/trunk/lib/Target/X86/X86MCInstLower.cpp Thu Jan 16 01:57:45 2014
>>> @@ -323,15 +323,16 @@ static void SimplifyShortMoveForm(X86Asm
>>> if (Absolute &&
>>> (Inst.getOperand(AddrBase + 0).getReg() != 0 ||
>>> Inst.getOperand(AddrBase + 2).getReg() != 0 ||
>>> - Inst.getOperand(AddrBase + 4).getReg() != 0 ||
>>> Inst.getOperand(AddrBase + 1).getImm() != 1))
>>> return;
>>>
>>> // If so, rewrite the instruction.
>>> MCOperand Saved = Inst.getOperand(AddrOp);
>>> + MCOperand Seg = Inst.getOperand(AddrBase + 4);
>>> Inst = MCInst();
>>> Inst.setOpcode(Opcode);
>>> Inst.addOperand(Saved);
>>> + Inst.addOperand(Seg);
>>> }
>>>
>>> static unsigned getRetOpcode(const X86Subtarget &Subtarget)
>>>
>>>
>>> _______________________________________________
>>> llvm-commits mailing list
>>> llvm-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>>
>>
>>
>
>
> --
> ~Craig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140116/52d9f6b9/attachment.html>
More information about the llvm-commits
mailing list