================
@@ -371,6 +434,11 @@ bool CompilerInstance::setUpTargetMachine() {
       /*Reloc::Model=*/CGOpts.getRelocationModel(),
       /*CodeModel::Model=*/cm, OptLevel));
   assert(targetMachine && "Failed to create TargetMachine");
+
+  if (!triple.isPPC()) {
+    targetOpts.targetFeatureStr = targetMachine->getTargetFeatureString();
+  }
----------------
jeanPerier wrote:

Same here, it is odd to me that PPC is doing something different than the rest 
here.

https://github.com/llvm/llvm-project/pull/169860
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to