]> granicus.if.org Git - llvm/commitdiff
[X86] Tag TLS instructions as system scheduler classes
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 10 Dec 2017 00:12:57 +0000 (00:12 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 10 Dec 2017 00:12:57 +0000 (00:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320274 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrCompiler.td

index 8b298d27ce85fdac2aec95718c81f81ddd65e482..51d6bc464eb519deb64f1f303961f94cb66a4e19 100644 (file)
@@ -464,6 +464,7 @@ let Defs = [RCX,RDI], isCodeGenOnly = 1 in {
 //===----------------------------------------------------------------------===//
 // Thread Local Storage Instructions
 //
+let SchedRW = [WriteSystem] in {
 
 // ELF TLS Support
 // All calls clobber the non-callee saved registers. ESP is marked as
@@ -529,7 +530,7 @@ def TLSCall_64 : I<0, Pseudo, (outs), (ins i64mem:$sym),
                   "# TLSCall_64",
                   [(X86TLSCall addr:$sym)]>,
                   Requires<[In64BitMode]>;
-
+} // SchedRW
 
 //===----------------------------------------------------------------------===//
 // Conditional Move Pseudo Instructions