================ @@ -609,13 +609,15 @@ bool PPCTargetInfo::initFeatureMap( // Privileged instructions are off by default. Features["privileged"] = false; - // The code generated by the -maix-small-local-[exec|dynamic]-tls option is - // turned off by default. - Features["aix-small-local-exec-tls"] = false; - Features["aix-small-local-dynamic-tls"] = false; + if (getTriple().isOSAIX()) { ---------------- diggerlin wrote:
if I understand correct, we do not need to set Features["aix-small-local-exec-tls"] = false; for AIX too, since we do not use the `HasAIXSmallLocalExecTLS`,`HasAIXShLibTLSModelOpt`,`HasAIXSmallLocalDynamicTLS` in the frontend https://github.com/llvm/llvm-project/pull/130864 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits