[clang] b522675 - Revert "[LinkerWrapper] Add 'Freestanding' config to the LTO pass" (#75528)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 15 06:25:18 PST 2023
Author: fel-cab
Date: 2023-12-15T08:25:14-06:00
New Revision: b522675816d6d5c0b0ae23e14115f4aa5a081583
URL: https://github.com/llvm/llvm-project/commit/b522675816d6d5c0b0ae23e14115f4aa5a081583
DIFF: https://github.com/llvm/llvm-project/commit/b522675816d6d5c0b0ae23e14115f4aa5a081583.diff
LOG: Revert "[LinkerWrapper] Add 'Freestanding' config to the LTO pass" (#75528)
This reverts commit 47d9fbc04b91fb03b6da294e82c2fb4bca6b6343.
It creates a segmentation falt on SPEChpc soma on Frontier on a GPU for
the kernel generate_new_beads
Co-authored-by: fel-cab <fel-cab at github.com>
Added:
Modified:
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Removed:
################################################################################
diff --git a/clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp b/clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
index bd2fd02c6a3e8f..bebe76355eb46f 100644
--- a/clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
+++ b/clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
@@ -526,7 +526,6 @@ std::unique_ptr<lto::LTO> createLTO(
Conf.CPU = Arch.str();
Conf.Options = codegen::InitTargetOptionsFromCodeGenFlags(Triple);
- Conf.Freestanding = true;
StringRef OptLevel = Args.getLastArgValue(OPT_opt_level, "O2");
Conf.MAttrs = Features;
More information about the cfe-commits
mailing list