diff options
author | Silviu Baranga <silviu.baranga@arm.com> | 2016-06-21 15:53:54 +0000 |
---|---|---|
committer | Silviu Baranga <silviu.baranga@arm.com> | 2016-06-21 15:53:54 +0000 |
commit | a992667d4c707b0226d3d363ff24a0b546a66c3a (patch) | |
tree | 59e02f0bbee583e211129e47526cc8e305f6079d /lib/Target/AArch64/AArch64Subtarget.cpp | |
parent | 3dd50d3e42855038ce9e9802ed7ff7fbe718b4a1 (diff) |
[AArch64] Restore codegen for AArch64 Cortex-A72/A73 after NFCI
Summary:
Code generation for Cortex-A72/Cortex-A73 was accidentally changed
by r271555, which was a NFCI. The isCortexA57() predicate was not true
for Cortex-A72/Cortex-A73 before r271555 (since it was checking the CPU
string). Because Cortex-A72/Cortex-A73 inherit all features from Cortex-A57,
all decisions previously guarded by isCortexA57() are now taken.
This change restores the behaviour before r271555 by adding separate
ProcA72/ProcA73, which have the required features to preserve code
generation.
Reviewers: kristof.beyls, aadg, mcrosier, rengolin
Subscribers: mcrosier, llvm-commits, aemerson, t.p.northover, MatzeB, rengolin
Differential Revision: http://reviews.llvm.org/D21182
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/AArch64Subtarget.cpp')
-rw-r--r-- | lib/Target/AArch64/AArch64Subtarget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/AArch64/AArch64Subtarget.cpp b/lib/Target/AArch64/AArch64Subtarget.cpp index 68c8dbfaa71..5904221e153 100644 --- a/lib/Target/AArch64/AArch64Subtarget.cpp +++ b/lib/Target/AArch64/AArch64Subtarget.cpp @@ -74,6 +74,8 @@ void AArch64Subtarget::initializeProperties() { case Vulcan: break; case CortexA35: break; case CortexA53: break; + case CortexA72: break; + case CortexA73: break; case Others: break; } } |