[PATCH] D91157: [AArch64] Out-of-line atomics (-moutline-atomics) implementation.

Pavel Iliin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 10:23:03 PST 2020


ilinpv added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:6377
+    } else {
+      CmdArgs.push_back("-target-feature");
+      CmdArgs.push_back("-outline-atomics");
----------------
jyknight wrote:
> We don't usually explicitly use negative features like this, do we? I think this else clause can be omitted.
We do, -soft-float for example in Clang.cpp:2397

```
if (Value.startswith("-mhard-float")) {
          CmdArgs.push_back("-target-feature");
          CmdArgs.push_back("-soft-float");
          continue;
        }
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91157



More information about the llvm-commits mailing list