[PATCH] D15557: [AArch64] Enable PostRAScheduler for AArch64 generic build
MinSeong KIM via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 17 06:54:43 PST 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL255896: [AArch64] Enable PostRAScheduler for AArch64 generic build (authored by MinSeongKIM).
Changed prior to commit:
http://reviews.llvm.org/D15557?vs=42963&id=43133#toc
Repository:
rL LLVM
http://reviews.llvm.org/D15557
Files:
llvm/trunk/lib/Target/AArch64/AArch64Subtarget.h
Index: llvm/trunk/lib/Target/AArch64/AArch64Subtarget.h
===================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64Subtarget.h
+++ llvm/trunk/lib/Target/AArch64/AArch64Subtarget.h
@@ -102,7 +102,7 @@
const Triple &getTargetTriple() const { return TargetTriple; }
bool enableMachineScheduler() const override { return true; }
bool enablePostRAScheduler() const override {
- return isCortexA53() || isCortexA57();
+ return isGeneric() || isCortexA53() || isCortexA57();
}
bool hasV8_1aOps() const { return HasV8_1aOps; }
@@ -139,6 +139,7 @@
bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); }
bool isTargetMachO() const { return TargetTriple.isOSBinFormatMachO(); }
+ bool isGeneric() const { return CPUString == "generic"; }
bool isCyclone() const { return CPUString == "cyclone"; }
bool isCortexA57() const { return CPUString == "cortex-a57"; }
bool isCortexA53() const { return CPUString == "cortex-a53"; }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15557.43133.patch
Type: text/x-patch
Size: 1016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151217/2701502e/attachment.bin>
More information about the llvm-commits
mailing list