[PATCH] D83079: [clang][aarch64] Generate preprocessor macros for -march=armv8.6a+sve.
Sander de Smalen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 8 00:51:55 PDT 2020
sdesmalen added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Arch/AArch64.cpp:369
+ if (llvm::is_contained(Features, "+v8.6a")) {
+ if (!llvm::is_contained(Features, "-i8mm") &&
+ !llvm::is_contained(Features, "+noi8mm"))
----------------
Is this correct and/or necessary? I would expect LLVM to just handle features in the order they're passed, and the architecture version is always processed first, e.g. `-march=armv8.6-a+noi8mm` will always first process `armv8.6a` before processing features like `noi8mm`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83079/new/
https://reviews.llvm.org/D83079
More information about the cfe-commits
mailing list