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
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits