================
@@ -580,6 +581,9 @@ llvm::ARM::FPUKind arm::getARMTargetFeatures(const Driver
&D,
Features.push_back("+read-tp-tpidruro");
if (getReadTPMode(D, Args, Triple, ForAS) == ReadTPMode::TPIDRPRW)
Features.push_back("+read-tp-tpidrprw");
+ if (getReadTPMode(D, Args, Triple, ForAS) == ReadTPMode::Auto
+ && isHardTPSupported(Triple) && !ForAS)
+ Features.push_back("+read-tp-tpidrprw");
----------------
smithp35 wrote:
I think you mean `+read-tp-tpidruro` here as that is what GCC defaults to.
https://github.com/llvm/llvm-project/pull/128728
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits