[PATCH] D64277: [X86][PowerPC] Support -mlong-double-128

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 11 16:25:32 PDT 2019


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm with suggestion



================
Comment at: lib/Driver/ToolChains/Clang.cpp:4009
         TC.getArch() == llvm::Triple::ppc || TC.getTriple().isPPC64()) {
-      CmdArgs.push_back("-mlong-double-64");
+      CmdArgs.push_back(A->getOption().matches(options::OPT_mlong_double_64)
+                            ? "-mlong-double-64"
----------------
There should be a shorthand for passing through the argument, `A->render()` or something.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64277/new/

https://reviews.llvm.org/D64277





More information about the cfe-commits mailing list