-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Backports for Julia 1.9.0-beta4 #48311
Commits on Jan 17, 2023
-
Fix mistake in docstring of
keys(::RegexMatch)
(#48252)This method was added in 1.7.0 and is not available in any 1.6 release (cherry picked from commit 12c3b1c)
Configuration menu - View commit details
-
Copy full SHA for d9040a5 - Browse repository at this point
Copy the full SHA d9040a5View commit details -
Avoid dtrace regenerating the header (#48278)
(cherry picked from commit a9ce60a)
Configuration menu - View commit details
-
Copy full SHA for 4dc9a10 - Browse repository at this point
Copy the full SHA 4dc9a10View commit details -
Profile: print profile peek to stderr (#48291)
(cherry picked from commit 36007b7)
Configuration menu - View commit details
-
Copy full SHA for e640e7b - Browse repository at this point
Copy the full SHA e640e7bView commit details
Commits on Jan 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5da6d97 - Browse repository at this point
Copy the full SHA 5da6d97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c99454 - Browse repository at this point
Copy the full SHA 9c99454View commit details
Commits on Jan 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 914ec69 - Browse repository at this point
Copy the full SHA 914ec69View commit details
Commits on Jan 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 986dc40 - Browse repository at this point
Copy the full SHA 986dc40View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8b78eb - Browse repository at this point
Copy the full SHA f8b78ebView commit details -
improve docs for IPython mode (#48314)
(cherry picked from commit a6694d4)
Configuration menu - View commit details
-
Copy full SHA for 957c93f - Browse repository at this point
Copy the full SHA 957c93fView commit details -
fix an erronous type assert (#48327)
(cherry picked from commit c4cf1e6)
Configuration menu - View commit details
-
Copy full SHA for dbe520d - Browse repository at this point
Copy the full SHA dbe520dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7114a8e - Browse repository at this point
Copy the full SHA 7114a8eView commit details -
allow extensions to be loaded from non top level env (#48352)
(cherry picked from commit 4cab76c)
Configuration menu - View commit details
-
Copy full SHA for 60dfe2c - Browse repository at this point
Copy the full SHA 60dfe2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3fbdf1 - Browse repository at this point
Copy the full SHA d3fbdf1View commit details -
set max_methods = 1 for REPL methods (#48330)
* set max_methods = 1 for REPL methods (cherry picked from commit f8493c7)
Configuration menu - View commit details
-
Copy full SHA for 9a67956 - Browse repository at this point
Copy the full SHA 9a67956View commit details
Commits on Jan 30, 2023
-
inlining: make union splitting account for uncovered call (#48455)
#44421 changed the union-splitting to skip generating unnecessary fallback dynamic dispatch call when there is any fully covered call. But it turned out that this is only valid when there is any fully covered call in matches for all signatures that inference split, and it is invalid if there is any union split signature against which any uncovered call is found. Consider the following example: # case 1 # def nosplit(::Any) = [...] nosplit(::Int) = [...] # call nosplit(a::Any) split1: a::Any ┬ nosplit(a::Int) └ nosplit(a::Any) # fully covers split1 # case 2 # def convert(::Type{T}, ::T) = T # call convert(::Type{Union{Bool,Tuple{Int,String}}}, a::Union{Bool,Tuple{Int,Any}}) split1: a::Bool ─ convert(::Type{Bool}, ::Bool) # fully covers split1 split2: a::Tuple{Int,Any} ─ convert(::Type{Tuple{Int,String}}, ::Tuple{Int,String}) # NOT fully covers split2 #44421 allows us to optimize the the first case, but handles the second case wrongly. This commit fixes it up while still optimizing the first case. fix #48397.
Configuration menu - View commit details
-
Copy full SHA for 86fc8b6 - Browse repository at this point
Copy the full SHA 86fc8b6View commit details
Commits on Feb 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9a8599a - Browse repository at this point
Copy the full SHA 9a8599aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a1da69 - Browse repository at this point
Copy the full SHA 0a1da69View commit details -
Store the frontend task object in the REPL struct. (#48400)
(cherry picked from commit 87f8958)
Configuration menu - View commit details
-
Copy full SHA for 90c9839 - Browse repository at this point
Copy the full SHA 90c9839View commit details -
Configuration menu - View commit details
-
Copy full SHA for 186f5a5 - Browse repository at this point
Copy the full SHA 186f5a5View commit details -
Sorting documentation fixups for 1.9 (#48440)
- Fix typos - Clarify that ! means mutation, not "in-place-ness". This should be backported because sort! is even less in place in 1.9 than it already was in 1.8. - Rewrite the section on default policy to reflect the new default policy - Move examples and extended description of previously default sorting algorithms out of sort.md and into their respective docstrings (still rendered in sort.md) Co-authored-by: Jeremie Knuesel <knuesel@gmail.com> (cherry picked from commit a1c4d85)
Configuration menu - View commit details
-
Copy full SHA for 775c97f - Browse repository at this point
Copy the full SHA 775c97fView commit details -
prevent heap snapshot test to write to julia dir (#48458)
Co-authored-by: Ian <i.r.butterworth@gmail.com> (cherry picked from commit 94c4fb5)
Configuration menu - View commit details
-
Copy full SHA for de89a2c - Browse repository at this point
Copy the full SHA de89a2cView commit details -
Merge pull request #47676 from gbaraldi/gmp-libblas-version
Use versioned libblastrampoline and GMP (cherry picked from commit 335cd5e)
Configuration menu - View commit details
-
Copy full SHA for fcd3ca8 - Browse repository at this point
Copy the full SHA fcd3ca8View commit details -
Fix
apply_type_tfunc
forUnion{T::TypeVar}
The type parameters to `Union` may be `Type`s or `TypeVar`s, but `apply_type_tfunc` failed to recognize the latter as valid in the single-argument case. (cherry picked from commit fd79b58)
Configuration menu - View commit details
-
Copy full SHA for 017365c - Browse repository at this point
Copy the full SHA 017365cView commit details -
Move
libstdc++
path intoLOADER_*_DEP_LIBS
After adding `libstdc++` probing into the Julia loader [0], we originally made the assumption that the `libstdc++` that is shipped with `julia` would always be co-located with `libjulia.so` [1]. This is not the case when building with `USE_SYSTEM_CSL=1`, however, where we sequester system libraries in `usr/lib/julia`, even at build-time. The path to `libstdc++.so` has already been getting altered when moving from build-time to install time via `stringreplace` [2], but after further thought, I decided that it would be better to just use the pre-existing `LOADER_*_DEP_LIBS` mechanism to communicate to the loader what the correct relative path to `libstdc++.so` is. This also allows the single `stringreplace` to update all of our "special" library paths. [0] #46976 [1] https://github.com/JuliaLang/julia/pull/46976/files#diff-8c5c98f26f3f7aac8905a1074c5bec11a57e9b9c7c556791deac5a3b27cc096fR379 [2] https://github.com/JuliaLang/julia/blob/master/Makefile#L430 (cherry picked from commit fb97c82)
Configuration menu - View commit details
-
Copy full SHA for 085d4a4 - Browse repository at this point
Copy the full SHA 085d4a4View commit details -
Load special libraries in-order
The `DEPS_LIBS` RPATH-substitute mechanism contains a list of paths to load, and some of these paths are "special", in that they require more involved loading than simply `load_library()`. These libraries are thereby denoted by a `@` prefixing them. Previously, we made note of these libraries, then loaded them at the end of the loading loop, but with the addition of `libstdc++` it is now important to have the order of the libraries (including special libraries) to be obeyed by the loading loop, so I have inlined special library handling into the loading loop. In the future, we may wish to denote special libraries more explicitly than simply relying on there being exactly three libraries, with the ordering being mapped to `libstdc++`, `libjulia-internal`, and `libjulia-codegen`. (cherry picked from commit 4e99860)
Configuration menu - View commit details
-
Copy full SHA for e80db09 - Browse repository at this point
Copy the full SHA e80db09View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5a6860 - Browse repository at this point
Copy the full SHA f5a6860View commit details -
Add !noalias and !alias.scope metadata
The main idea here is that the TBAA domain is ill-equipped for reasoning about regions (and, in particular, suffers total precision less when merging disparate types in a `memcpy`). Instead, `!noalias` should be used for region-based memory information and `!tbaa` should be used exclusively for layout. We use (5) regions corresponding to the top level of the TBAA tree: - gcframe - stack - data - constant - type_metadata For now, this leaves the TBAA hierarchy in tact and only adds additional `!noalias` metadata. `!tbaa` annotations should be the same as before.
Configuration menu - View commit details
-
Copy full SHA for 0f0d425 - Browse repository at this point
Copy the full SHA 0f0d425View commit details -
Derive
!noalias
from!tbaa
for most loads/storesThis is an interim solution that derives the correct `!noalias` region from the existing TBAA information. Later we will want to: - Revise the TBAA hierarchy to remove region information - Delete `jl_aliasinfo_t::fromTBAA()` - Update `jl_cgval_t` to store a `jl_aliasinfo_t`
Configuration menu - View commit details
-
Copy full SHA for d04d36f - Browse repository at this point
Copy the full SHA d04d36fView commit details
Commits on Feb 2, 2023
-
Merge pull request #48485 from topolarity/noalias
Backport: Add `!noalias` and `!alias.scope` metadata
Configuration menu - View commit details
-
Copy full SHA for 2440091 - Browse repository at this point
Copy the full SHA 2440091View commit details
Commits on Feb 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 08aa3f0 - Browse repository at this point
Copy the full SHA 08aa3f0View commit details -
Avoid unnecessary Docs.META initializations (#48469)
If the target module does not have a Docs.META dict (e.g. if `--strip-metadata` is used), `Docs.meta()` has the side effect of creating a new IdDict and initializing the Docs.META field of the target module. We need to avoid eval'ing into modules after they've been closed, so for methods that do not mutate the new IdDict we should avoid the init. Resolves #48390. Co-authored-by: Steve Kelly <kd2cca@gmail.com> (cherry picked from commit 798b589)
Configuration menu - View commit details
-
Copy full SHA for 68cd01c - Browse repository at this point
Copy the full SHA 68cd01cView commit details -
Fix
Base.libblas_name
/Base.liblapack_name
On Windows they need to include the major soversion of libblastrampoline. (cherry picked from commit d5911c0)
Configuration menu - View commit details
-
Copy full SHA for 30dcbba - Browse repository at this point
Copy the full SHA 30dcbbaView commit details -
Move
libblas_name
/liblapack_name
to afterSys
module(cherry picked from commit f2d7055)
Configuration menu - View commit details
-
Copy full SHA for b9c655c - Browse repository at this point
Copy the full SHA b9c655cView commit details -
Add test for use of
Base.libblas_name
(cherry picked from commit a93ac54)
Configuration menu - View commit details
-
Copy full SHA for 8b00ed3 - Browse repository at this point
Copy the full SHA 8b00ed3View commit details -
[LinearAlgebra] Fix
libblas_name
testUse `Int` as type for integer arguments, instead of `Cint`. (cherry picked from commit cdc6eaf)
Configuration menu - View commit details
-
Copy full SHA for a7f04b8 - Browse repository at this point
Copy the full SHA a7f04b8View commit details
Commits on Feb 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 26b6e81 - Browse repository at this point
Copy the full SHA 26b6e81View commit details -
avoid generating native code if only output ji file (#48431)
(cherry picked from commit 2eeefbe)
Configuration menu - View commit details
-
Copy full SHA for 62b70e3 - Browse repository at this point
Copy the full SHA 62b70e3View commit details -
convert algorithms to SCC (#47866)
These places in the code can either be more efficient O(1) or more correct using something more similar to the published SCC algorithm by Tarjan for strongly connected components. (cherry picked from commit b03439c)
Configuration menu - View commit details
-
Copy full SHA for d1b9ff9 - Browse repository at this point
Copy the full SHA d1b9ff9View commit details -
precompile: do not reanimate zombie external methods (#48475)
Configuration menu - View commit details
-
Copy full SHA for a83399c - Browse repository at this point
Copy the full SHA a83399cView commit details
Commits on Feb 7, 2023
-
Merge pull request #48513 from JuliaLang/jn/extend-once
ensure extension triggers are only run by the package that satified them
Configuration menu - View commit details
-
Copy full SHA for d4e0f36 - Browse repository at this point
Copy the full SHA d4e0f36View commit details -
Protect
cmd_gen
against invalidation (#48557)This gets used by `Base.require`, arguably the most painful of all invalidations. CSV is one package that invalidates it. (cherry picked from commit 5721ae7)
Configuration menu - View commit details
-
Copy full SHA for 27c6d97 - Browse repository at this point
Copy the full SHA 27c6d97View commit details -
Change uses of int to size_t in MurmurHash (#48562)
* Change uses of int to size_t in MurmurHash (cherry picked from commit 3fe69f4)
Configuration menu - View commit details
-
Copy full SHA for 1ef6c96 - Browse repository at this point
Copy the full SHA 1ef6c96View commit details -
[compiler] Fix effects of supertype abstract interpretation (#48566)
This `abstract_call_known` recursion inserted `EFFECTS_TOTAL` which is incorrect because `<:` and `>:` can throw if the arguments are not types. (cherry picked from commit 0ab6e2f)
Configuration menu - View commit details
-
Copy full SHA for 997ba79 - Browse repository at this point
Copy the full SHA 997ba79View commit details -
add CTRL_R to repl precompile (#48539)
Co-authored-by: robsmith11 <robsmith11@github.com> (cherry picked from commit 7827b08)
Configuration menu - View commit details
-
Copy full SHA for a3b4c3b - Browse repository at this point
Copy the full SHA a3b4c3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c15f520 - Browse repository at this point
Copy the full SHA c15f520View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4a4629 - Browse repository at this point
Copy the full SHA d4a4629View commit details