[PATCH] D40694: Remove Unsupported flag from T99 Scheduler

Stefan Teleman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 17:19:48 PST 2017


steleman created this revision.
Herald added a subscriber: javed.absar.

This patch removes the Unsupported = 1 flag for the WriteAtomic WriteRes.

In practice, this patch has no effect on scheduling.

There is no test case as there already exists a comprehensive test case for LSE Atomics.


Repository:
  rL LLVM

https://reviews.llvm.org/D40694

Files:
  lib/Target/AArch64/AArch64SchedThunderX2T99.td


Index: lib/Target/AArch64/AArch64SchedThunderX2T99.td
===================================================================
--- lib/Target/AArch64/AArch64SchedThunderX2T99.td
+++ lib/Target/AArch64/AArch64SchedThunderX2T99.td
@@ -391,7 +391,7 @@
 def : WriteRes<WriteHint,    []> { let Latency = 1; }
 
 def : WriteRes<WriteAtomic,  []> {
-  let Unsupported = 1;
+  let Latency = 4;
   let NumMicroOps = 2;
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40694.125059.patch
Type: text/x-patch
Size: 410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171201/539a948c/attachment.bin>


More information about the llvm-commits mailing list