From: Rafael Espindola Date: Thu, 17 Dec 2015 15:12:26 +0000 (+0000) Subject: Revert "[AArch64] Enable PostRAScheduler for AArch64 generic build" X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7396da812025d816f4de146bb324387529f17fed;p=oota-llvm.git Revert "[AArch64] Enable PostRAScheduler for AArch64 generic build" This reverts commit r255896. It broke the tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255899 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64Subtarget.h b/lib/Target/AArch64/AArch64Subtarget.h index 1b8b9b27719..cf94445a885 100644 --- a/lib/Target/AArch64/AArch64Subtarget.h +++ b/lib/Target/AArch64/AArch64Subtarget.h @@ -102,7 +102,7 @@ public: const Triple &getTargetTriple() const { return TargetTriple; } bool enableMachineScheduler() const override { return true; } bool enablePostRAScheduler() const override { - return isGeneric() || isCortexA53() || isCortexA57(); + return isCortexA53() || isCortexA57(); } bool hasV8_1aOps() const { return HasV8_1aOps; } @@ -139,7 +139,6 @@ public: 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"; }