forked from OSchip/llvm-project
X86/AsmParser: Mark MOV64GSrm, MOV64FSrm, GS_MOV32rm, FS_MOV32rm as codegen only.
llvm-svn: 78733
This commit is contained in:
parent
6747b39ca5
commit
526bcd461a
|
@ -1372,12 +1372,12 @@ def TLS_addr64 : I<0, Pseudo, (outs), (ins lea64mem:$sym),
|
|||
[(X86tlsaddr tls64addr:$sym)]>,
|
||||
Requires<[In64BitMode]>;
|
||||
|
||||
let AddedComplexity = 5 in
|
||||
let AddedComplexity = 5, isCodeGenOnly = 1 in
|
||||
def MOV64GSrm : RI<0x8B, MRMSrcMem, (outs GR64:$dst), (ins i64mem:$src),
|
||||
"movq\t%gs:$src, $dst",
|
||||
[(set GR64:$dst, (gsload addr:$src))]>, SegGS;
|
||||
|
||||
let AddedComplexity = 5 in
|
||||
let AddedComplexity = 5, isCodeGenOnly = 1 in
|
||||
def MOV64FSrm : RI<0x8B, MRMSrcMem, (outs GR64:$dst), (ins i64mem:$src),
|
||||
"movq\t%fs:$src, $dst",
|
||||
[(set GR64:$dst, (fsload addr:$src))]>, SegFS;
|
||||
|
|
|
@ -3199,12 +3199,12 @@ def TLS_addr32 : I<0, Pseudo, (outs), (ins lea32mem:$sym),
|
|||
[(X86tlsaddr tls32addr:$sym)]>,
|
||||
Requires<[In32BitMode]>;
|
||||
|
||||
let AddedComplexity = 5 in
|
||||
let AddedComplexity = 5, isCodeGenOnly = 1 in
|
||||
def GS_MOV32rm : I<0x8B, MRMSrcMem, (outs GR32:$dst), (ins i32mem:$src),
|
||||
"movl\t%gs:$src, $dst",
|
||||
[(set GR32:$dst, (gsload addr:$src))]>, SegGS;
|
||||
|
||||
let AddedComplexity = 5 in
|
||||
let AddedComplexity = 5, isCodeGenOnly = 1 in
|
||||
def FS_MOV32rm : I<0x8B, MRMSrcMem, (outs GR32:$dst), (ins i32mem:$src),
|
||||
"movl\t%fs:$src, $dst",
|
||||
[(set GR32:$dst, (fsload addr:$src))]>, SegFS;
|
||||
|
|
Loading…
Reference in New Issue