diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-02-12 17:21:28 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-02-12 17:21:28 +0000 |
commit | 0efe9bc9534d03fbf9dfad88ac08a75eec5f0f6c (patch) | |
tree | b28eb042fb21eeb22710cbafb17ea338942dcb14 | |
parent | a172654a090638082ae2a1c5e19debf7994f0d0c (diff) | |
download | bcm5719-llvm-0efe9bc9534d03fbf9dfad88ac08a75eec5f0f6c.tar.gz bcm5719-llvm-0efe9bc9534d03fbf9dfad88ac08a75eec5f0f6c.zip |
[X86] Add missing scheduling class tag for i64 absolute address moves
Expand existing SchedRW to encompass these like it did for the other memory offset movs - added comments to closing braces to keep track of def scopes.
We only tagged it with the itinerary class, so completeness checks were erroneously passed (PR35639).
llvm-svn: 324910
-rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.td | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td index b29e490ef1b..2200f9f4d66 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.td +++ b/llvm/lib/Target/X86/X86InstrInfo.td @@ -1536,7 +1536,7 @@ let Defs = [EAX] in def MOV32ao16 : Ii16<0xA1, RawFrmMemOffs, (outs), (ins offset16_32:$src), "mov{l}\t{$src, %eax|eax, $src}", [], IIC_MOV_MEM>, AdSize16, OpSize32; -} +} // mayLoad let mayStore = 1 in { let Uses = [AL] in def MOV8o32a : Ii32<0xA2, RawFrmMemOffs, (outs), (ins offset32_8:$dst), @@ -1565,8 +1565,7 @@ let Uses = [EAX] in def MOV32o16a : Ii16<0xA3, RawFrmMemOffs, (outs), (ins offset16_32:$dst), "mov{l}\t{%eax, $dst|$dst, eax}", [], IIC_MOV_MEM>, OpSize32, AdSize16; -} -} +} // mayStore // These forms all have full 64-bit absolute addresses in their instructions // and use the movabs mnemonic to indicate this specific form. @@ -1587,7 +1586,7 @@ let Defs = [RAX] in def MOV64ao64 : RIi64<0xA1, RawFrmMemOffs, (outs), (ins offset64_64:$src), "movabs{q}\t{$src, %rax|rax, $src}", [], IIC_MOV_MEM>, AdSize64; -} +} // mayLoad let mayStore = 1 in { let Uses = [AL] in @@ -1606,7 +1605,8 @@ let Uses = [RAX] in def MOV64o64a : RIi64<0xA3, RawFrmMemOffs, (outs), (ins offset64_64:$dst), "movabs{q}\t{%rax, $dst|$dst, rax}", [], IIC_MOV_MEM>, AdSize64; -} +} // mayStore +} // SchedRW } // hasSideEffects = 0 let isCodeGenOnly = 1, ForceDisassemble = 1, hasSideEffects = 0, |