Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport LLVM patches to fix various issues. #50639

Merged
merged 2 commits into from
Jul 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
216 changes: 108 additions & 108 deletions deps/checksums/clang

Large diffs are not rendered by default.

216 changes: 108 additions & 108 deletions deps/checksums/lld

Large diffs are not rendered by default.

436 changes: 218 additions & 218 deletions deps/checksums/llvm

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion deps/clang.version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## jll artifact
# Clang (paired with LLVM, only here as a JLL download)
CLANG_JLL_NAME := Clang
CLANG_JLL_VER := 15.0.7+5
CLANG_JLL_VER := 15.0.7+7
2 changes: 1 addition & 1 deletion deps/lld.version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## jll artifact
LLD_JLL_NAME := LLD
LLD_JLL_VER := 15.0.7+5
LLD_JLL_VER := 15.0.7+7
4 changes: 2 additions & 2 deletions deps/llvm-tools.version
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## jll artifact
# LLVM_tools (downloads LLVM_jll to get things like `lit` and `opt`)
LLVM_TOOLS_JLL_NAME := LLVM
LLVM_TOOLS_JLL_VER := 15.0.7+5
LLVM_TOOLS_ASSERT_JLL_VER := 15.0.7+5
LLVM_TOOLS_JLL_VER := 15.0.7+7
LLVM_TOOLS_ASSERT_JLL_VER := 15.0.7+7
8 changes: 4 additions & 4 deletions deps/llvm.version
maleadt marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

## jll artifact
LLVM_JLL_NAME := libLLVM
LLVM_ASSERT_JLL_VER := 15.0.7+5
LLVM_ASSERT_JLL_VER := 15.0.7+7
## source build
# Version number of LLVM
LLVM_VER := 15.0.7
# Git branch name in `LLVM_GIT_URL` repository
LLVM_BRANCH=julia-15.0.7-5
LLVM_BRANCH=julia-15.0.7-7
# Git ref in `LLVM_GIT_URL` repository
LLVM_SHA1=julia-15.0.7-5
LLVM_SHA1=julia-15.0.7-7

## Following options are used to automatically fetch patchset from Julia's fork. This is
## useful if you want to build an external LLVM while still applying Julia's patches.
Expand All @@ -20,4 +20,4 @@ LLVM_JULIA_DIFF_GITHUB_REPO := https://github.com/llvm/llvm-project
# Base GitHub ref for generating the diff.
LLVM_BASE_REF := llvm:llvmorg-15.0.7
# Julia fork's GitHub ref for generating the diff.
LLVM_JULIA_REF := JuliaLang:julia-15.0.7-5
LLVM_JULIA_REF := JuliaLang:julia-15.0.7-7
2 changes: 1 addition & 1 deletion stdlib/LLD_jll/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "LLD_jll"
uuid = "d55e3150-da41-5e91-b323-ecfd1eec6109"
version = "15.0.7+5"
version = "15.0.7+7"

[deps]
Zlib_jll = "83775a58-1f1d-513f-b197-d71354ab007a"
Expand Down
2 changes: 1 addition & 1 deletion stdlib/libLLVM_jll/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "libLLVM_jll"
uuid = "8f36deef-c2a5-5394-99ed-8e07531fb29a"
version = "15.0.7+5"
version = "15.0.7+7"

[deps]
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Expand Down
5 changes: 5 additions & 0 deletions test/fastmath.jl
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,8 @@ end
@test x == [1, 1]
@test i == 1
end

@testset "@fastmath-related crash (#49907)" begin
x = @fastmath maximum(Float16[1,2,3]; init = Float16(0))
@test x == Float16(3)
end