Skip to content

Commit

Permalink
Backport LLVM patches to fix various issues. (#50639)
Browse files Browse the repository at this point in the history
-
llvm/llvm-project@af39acd
closing #50448
- https://reviews.llvm.org/D139078 closing
#49907

(cherry picked from commit 092231c)
  • Loading branch information
maleadt authored and KristofferC committed Jul 24, 2023
1 parent 77c8fdc commit b21a343
Show file tree
Hide file tree
Showing 10 changed files with 449 additions and 444 deletions.
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
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

0 comments on commit b21a343

Please sign in to comment.