[PATCH] D112906: [PowerPC] Emit warning for ieeelongdouble on older GNU toolchain

Nemanja Ivanovic via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 21 11:53:26 PST 2022


nemanjai added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/PPCLinux.cpp:50
+  if (!SupportIEEEFloat128(D, Triple, Args)) {
+    if (Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) {
+      StringRef ABIName = A->getValue();
----------------
Seems that this will be less frequent than every compiler invocation, so we should probably check this first and early exit if the option isn't specified.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112906



More information about the cfe-commits mailing list