We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa0aa5b commit e767873Copy full SHA for e767873
lib/ClangImporter/ClangImporter.cpp
@@ -781,8 +781,9 @@ importer::addCommonInvocationArguments(
781
invocationArgStrs.push_back("-march=z13");
782
}
783
784
- if (triple.isOSLinux() && triple.getArch() == llvm::Triple::x86_64) {
785
- // Enable double wide atomic intrinsics for x86_64 archs on Linux.
+ if (triple.getArch() == llvm::Triple::x86_64) {
+ // Enable double wide atomic intrinsics on every x86_64 target.
786
+ // (This is the default on Darwin, but not so on other platforms.)
787
invocationArgStrs.push_back("-mcx16");
788
789
0 commit comments