Skip to content

Commit 820ace9

Browse files
authored
Update LLVM (carbon-language#5082)
Co-authored-by: Josh L <[email protected]>
1 parent baffb66 commit 820ace9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ bazel_dep(name = "zstd", version = "1.5.6", repo_name = "llvm_zstd")
116116

117117
# We pin to specific upstream commits and try to track top-of-tree reasonably
118118
# closely rather than pinning to a specific release.
119-
# HEAD as of 2025-02-04.
120-
llvm_project_version = "724fde34a5e9ae36c687a6bfbd3a50af805a62d6"
119+
# HEAD as of 2025-03-07.
120+
llvm_project_version = "94c937d32195693bdcac34260d156b4ea55ca9d6"
121121

122122
# Load a repository for the raw llvm-project, pre-overlay.
123123
http_archive(
@@ -129,7 +129,7 @@ http_archive(
129129
"@carbon//bazel/llvm_project:0002_Added_Bazel_build_for_compiler_rt_fuzzer.patch",
130130
"@carbon//bazel/llvm_project:0003_Comment_out_unloaded_proto_library_dependencies.patch",
131131
],
132-
sha256 = "5d7095e383b4d518d8079a00986b0452528fd3973c6b34b30024c3d3f68d2953",
132+
sha256 = "a39b09e3b1a5b0f48f250f8d4694f26298ebc67567c77d61bad785141a2d3bbe",
133133
strip_prefix = "llvm-project-{0}".format(llvm_project_version),
134134
urls = ["https://github.com/llvm/llvm-project/archive/{0}.tar.gz".format(llvm_project_version)],
135135
)

MODULE.bazel.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

toolchain/codegen/codegen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ auto CodeGen::Make(llvm::Module& module, llvm::StringRef target_triple,
2323
errors << "error: invalid target: " << error << "\n";
2424
return {};
2525
}
26-
module.setTargetTriple(target_triple);
26+
module.setTargetTriple(llvm::Triple(target_triple));
2727

2828
constexpr llvm::StringLiteral CPU = "generic";
2929
constexpr llvm::StringLiteral Features = "";

0 commit comments

Comments
 (0)