echristo added a comment.

One inline comment otherwise LGTM



================
Comment at: lib/Driver/ToolChains/Gnu.cpp:681
     CmdArgs.push_back("-mppc");
-    CmdArgs.push_back("-many");
+    std::string CPU = getCPUName(Args, getToolChain().getTriple());
+    CmdArgs.push_back(ppc::getPPCAsmModeForCPU(CPU));
----------------
Probably don't need to store it to a temporary since the other function is just 
returning a const char *.


Repository:
  rL LLVM

https://reviews.llvm.org/D33820



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to