[PATCH] D15040: [ARM] Add command-line options for ARMv8.2-A
Bradley Smith via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 27 05:38:37 PST 2015
bsmith added a subscriber: bsmith.
================
Comment at: lib/Driver/Tools.cpp:868-876
@@ -867,4 +867,11 @@
- if (Triple.getSubArch() == llvm::Triple::SubArchType::ARMSubArch_v8_1a) {
+ switch (Triple.getSubArch()) {
+ case llvm::Triple::SubArchType::ARMSubArch_v8_1a:
Features.insert(Features.begin(), "+v8.1a");
+ break;
+ case llvm::Triple::SubArchType::ARMSubArch_v8_2a:
+ Features.insert(Features.begin(), "+v8.2a");
+ break;
+ default:
+ break;
}
----------------
Now that -mcpu=generic works correctly and isn't hardcoded to ARMv8.1-A, I don't believe we need this hardcoded logic to add these features.
Repository:
rL LLVM
http://reviews.llvm.org/D15040
More information about the cfe-commits
mailing list