[PATCH] D13708: AArch64: Disable the latency heuristic

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 11:09:53 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL251038: AArch64: Disable the latency heuristic (authored by matze).

Changed prior to commit:
  http://reviews.llvm.org/D13708?vs=37289&id=38147#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D13708

Files:
  llvm/trunk/lib/Target/AArch64/AArch64Subtarget.cpp

Index: llvm/trunk/lib/Target/AArch64/AArch64Subtarget.cpp
===================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64Subtarget.cpp
+++ llvm/trunk/lib/Target/AArch64/AArch64Subtarget.cpp
@@ -114,6 +114,11 @@
   // bi-directional scheduling. 253.perlbmk.
   Policy.OnlyTopDown = false;
   Policy.OnlyBottomUp = false;
+  // Enabling or Disabling the latency heuristic is a close call: It seems to
+  // help nearly no benchmark on out-of-order architectures, on the other hand
+  // it regresses register pressure on a few benchmarking.
+  if (isCyclone())
+    Policy.DisableLatencyHeuristic = true;
 }
 
 bool AArch64Subtarget::enableEarlyIfConversion() const {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13708.38147.patch
Type: text/x-patch
Size: 712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151022/78bb5fa3/attachment.bin>


More information about the llvm-commits mailing list