[PATCH] D110258: [AArch64] Always add -tune-cpu argument to -cc1 driver
Dave Green via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 27 02:26:55 PDT 2021
dmgreen added a comment.
Sounds great. Glad to see us taking this route.
Unfortunately I think we do need to split the subtargetfeatures up into arch flags and tune flags. Same for the details in AArch64Subtarget::initializeProperties. It is hopefully a fairly mechanical process, but they are an important part of tuning and without them -mtune is only a half-working option.
Are you happy to give that a go too?
================
Comment at: llvm/lib/Target/AArch64/AArch64Subtarget.h:305
/// of the specified triple.
- AArch64Subtarget(const Triple &TT, const std::string &CPU,
+ AArch64Subtarget(const Triple &TT, const std::string &CPU, const std::string &TuneCPU,
const std::string &FS, const TargetMachine &TM,
----------------
Needs reformatting.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110258/new/
https://reviews.llvm.org/D110258
More information about the cfe-commits
mailing list