https://github.com/JuliaLang/julia

sort by:
Revision Author Date Message Commit Date
054c184 WIP 13 January 2022, 00:05:17 UTC
f88c5f2 RFC: Remove sqrt from the volatile list The LLVM IR spec now explicitly says that this intrinsic is required to be rounded correctly. That means that without fasthmath flag (which we do not set here), this intrinsic must have the bitwise correctly rounded answer and should thus not differ between compile and runtime. If there is still a case where it does differ, that is likely some other underlying bug that we should fix instead. Before: ``` julia> f() = sqrt(2) f (generic function with 1 method) julia> @code_typed f() CodeInfo( 1 ─ %1 = Base.Math.sqrt_llvm(2.0)::Float64 └── return %1 ) => Float64 ``` After: ``` julia> @code_typed f() CodeInfo( 1 ─ return 1.4142135623730951 ) => Float64 ``` 12 January 2022, 22:46:47 UTC
6a86a61 Fix nothrow modeling of have_fma Allows functions that make use of fma to be considered ConstAPI (so long has both have_fma branches return the same constant). 12 January 2022, 22:21:00 UTC
03136e2 Fix Conditional bug 12 January 2022, 22:04:01 UTC
7f0c782 Allow branch folding to look at type information Folds things like: ``` %a = complicated()::Const(true) goto if not %a ``` 12 January 2022, 20:35:21 UTC
04640c3 dllexport some functions for making OpaqueClosures 06 January 2022, 00:01:14 UTC
f8f42ec Fix `ldiv!` with non-strided Cholesky (#43626) 02 January 2022, 10:05:46 UTC
8f192bd Missing package add prompt: Restrict which exprs to search in (#43457) 01 January 2022, 23:02:57 UTC
c04a3fd 🤖 Bump the SuiteSparse stdlib from e4df734 to 5d7d1d6 (#43622) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 01 January 2022, 07:03:03 UTC
be20ec2 🤖 Bump the Pkg stdlib from 43626542 to e6104fca (#43620) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 31 December 2021, 21:17:09 UTC
2714cb9 🤖 Bump the Downloads stdlib from c445f45 to 43899e7 (#43619) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 31 December 2021, 19:13:33 UTC
c2d26e2 🤖 Bump the Statistics stdlib from 5256d57 to 2048f5b (#43621) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 31 December 2021, 18:30:17 UTC
3d11f7d test/errorshow: Disable infinite recursion tests on aarch64-darwin (#43613) We just don't get more than a couple frames back from libunwind on stack overflow when running on aarch64-darwin, so restrict the test to x64_64 also on macOS. This test also fails using the official 1.7.0 release binary. 31 December 2021, 13:35:17 UTC
ffed6b8 Change `shm_open()` calling ABI on aarch64 Darwin (#43516) Beacuse `shm_open()` is a variadic function, if we don't declare it as such, the kernel receives trash as the `permissions` value, which occasionally results in errors when creating shared memory segments. This did not happen on `x86_64` because the calling convention doesn't change so much between variadic and non-vadiadic functions. 31 December 2021, 00:42:26 UTC
5819775 Seed Libc rng from system entropy (#43606) We're seeing lots of CI failures that look like collisions in the names of temporary variables. Currently we're seeding the libc rng from a low entropy clock, which is somewhat likely to have collisions particular if (as we are), you launch all your processes at exactly the right time. Try to fix that by seeding the libc using system entropy. Of course that still leaves the potential for birthday problems, but hopfully this will tide us over until #43597 gets fixed. 30 December 2021, 21:26:17 UTC
28b47b8 Try to fix temp path collision on CI (#43596) See comments at the end of https://github.com/JuliaLang/julia/pull/38879 30 December 2021, 16:23:31 UTC
ded68b8 dropped an extra println statement, maintained readability. (#43540) 30 December 2021, 09:50:31 UTC
d052fc6 One and oneunit for triangular matrices (#43576) 30 December 2021, 09:49:34 UTC
27eb721 Update LinearAlgebra QR tests so that MKL.jl tests pass on the LinearAlgebra test suite. (#43585) 30 December 2021, 08:52:42 UTC
ab4e036 optimizer: compute side-effect-freeness for array allocations (#43565) This would be useful for Julia-level optimizations on arrays. Initially I want to have this in order to add array primitives support in EscapeAnalysis.jl, which should help us implement a variety of array optimizations including dead array allocation elimination, copy-elision from `Array` to `ImmutableArray` conversion (#42465), etc., but I found this might be already useful for us since this enables some DCE in very simple cases like: ```julia julia> function simple!(x::T) where T d = IdDict{T,T}() # dead alloc # ... computations that don't use `d` at all return nothing end simple! (generic function with 1 method) julia> @code_typed simple!("foo") CodeInfo( 1 ─ return Main.nothing ) => Nothing ``` This enhancement is super limited though, e.g. DCE won't happen when array allocation involves other primitive operations like `arrayset`: ```julia julia> code_typed() do a = Int[0,1,2] nothing end 1-element Vector{Any}: CodeInfo( 1 ─ %1 = $(Expr(:foreigncall, :(:jl_alloc_array_1d), Vector{Int64}, svec(Any, Int64), 0, :(:ccall), Vector{Int64}, 3, 3))::Vector{Int64} │ Base.arrayset(false, %1, 0, 1)::Vector{Int64} │ Base.arrayset(false, %1, 1, 2)::Vector{Int64} │ Base.arrayset(false, %1, 2, 3)::Vector{Int64} └── return Main.nothing ) => Nothing ``` Further enhancement o optimize cases like above will be based on top of incoming EA.jl (Julia-level escape analysis) or LLVM-level escape analysis. 30 December 2021, 07:30:52 UTC
e8d1167 Spell out ~0L literal (#43579) To avoid the compiler potentially picking the wrong size depending on standards versions. 29 December 2021, 22:04:33 UTC
f61eb87 `Base.runtests`: unset `JULIA_PROJECT` and `JULIA_LOAD_PATH` (#43575) 28 December 2021, 20:48:38 UTC
722f9d4 win32: Fix SEH frame sentinel (#43570) The last entry sentinel for Win64 SEH is `~0L` not NULL. Apparently this doesn't cause issues on windows proper, but does crash wine. Arguably if Windows doesn't have issues then we should just fix this in wine, but since we control the source and nobody else ever seems to have run into this, let's just fix it and save the good Wine folks some headache. Fixes #43569. 28 December 2021, 14:28:26 UTC
693b447 Manually implement tempname on non-windows (#38879) Co-authored-by: Steven G. Johnson <stevenj@alum.mit.edu> Co-authored-by: Elliot Saba <staticfloat@gmail.com> Co-authored-by: Steven G. Johnson <stevenj@alum.mit.edu> 28 December 2021, 10:36:38 UTC
c790938 Add atan support for missings (#43523) Allowing atan to deal with two missing arguments 27 December 2021, 10:25:51 UTC
49e6ae5 patch:Fedora julia package link (#43545) 27 December 2021, 10:23:23 UTC
83d5fdc Fix a few typos in debuggingtips.md (#43546) 26 December 2021, 23:01:55 UTC
ee16fe6 Fix a few cases of REPL completion crash (#43541) 26 December 2021, 14:12:43 UTC
a068e90 Add tests for Dense/Strided * (Sym)Tridiagonal (#43549) 26 December 2021, 11:12:52 UTC
57bd56e Fix a markdown link syntax error (#43543) 25 December 2021, 08:56:07 UTC
0064663 Add precompiles & disable constprop (#43367) * Expand precompiles These are targeted at reducing Revise latency if callbacks run synchronously. * Disable constprop on functions that don't benefit from it This shaves about 100ms off the time to load Images.jl under Revise. 24 December 2021, 08:23:10 UTC
3617299 add some NEWS entries for compiler-related changes (#43462) 23 December 2021, 18:23:51 UTC
6ee8638 Improve inference for fallback TerminalMenu config access (#43533) 23 December 2021, 18:03:40 UTC
5bd3a6d some compiler-related improvements and fixes (#43502) * improve comipler type stabilities * fix `code_typed_opaque_closure` 23 December 2021, 04:04:50 UTC
6c78ef0 optimizer: improve SROA performance (#43488) Essentially this commit reduces the runtime count # of domtree construction. The key observation is that SROA of mutable allocations isn't often successful. More specifically, during the sysimg build, `sroa_mutables!` is called `5776` times, and actual SROA happened only for `126` cases out of those cases. (, which means we should be able to avoid domtree construction in `5650`/`5776` cases). 23 December 2021, 02:09:24 UTC
5200211 RFC: Low-level API for `schedule` and `wait` (#41270) 22 December 2021, 22:05:29 UTC
0f4c8b0 Use correct delimiter for inline code. (#43524) Originally ' had been used to close an inline code section, but it should be `. 22 December 2021, 18:18:05 UTC
f2f3133 Make WINE overrideable for easier debugging (#43489) * Make WINE overrideable for easier debugging * Also use overriden wine for winepath Otherwise things will ping-pong back and forth with the system wine and never actually amke any progress. 22 December 2021, 11:27:02 UTC
bceef47 doc: we now have task migration (#43496) 22 December 2021, 02:37:19 UTC
602b46c [LLVM] Drop support for LLVM 11 (#43371) 21 December 2021, 20:40:06 UTC
4b0d6c9 Merge pull request #43127 from JuliaLang/dk/freelinalg Make LinearAlgebra.jl independent of SparseArrays.jl 21 December 2021, 17:23:50 UTC
068c55d add `sparse_*cat` 21 December 2021, 16:45:07 UTC
c308a8c Make LinearAlgebra.jl independent of SparseArrays.jl 21 December 2021, 16:45:07 UTC
7cd1da3 Add an SPDX file to the repository to streamline license and security reviews by user organizations (#42102) * Add an SPDX file to the repository. * New script contrib/updateSPDX.jl . Ran the script to update the SPDX file. 21 December 2021, 09:30:19 UTC
43efe2c 🤖 Bump the Pkg stdlib from 247a4062 to 43626542 (#43493) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 20 December 2021, 20:56:31 UTC
fda5769 reverse iteration for eachline (#42225) 20 December 2021, 17:52:20 UTC
f835c24 fix overflow bug in prevpow (#43410) 20 December 2021, 16:26:30 UTC
fb3ee73 inlining: add missing late special handling for `UnionAll` method call (#43479) Looking at the result of <https://github.com/JuliaLang/julia/issues/43452#issuecomment-996971256>, I found that currently the inlinear sometimes fails to handle `UnionAll` call (e.g. runtime dispatch detected: Core.UnionAll(%28::TypeVar, %29::Any)). This commit adds a missing late special handling for `UnionAll` calls: > before ```julia julia> code_typed((TypeVar,)) do tv UnionAll(tv, Type{tv}) end 1-element Vector{Any}: CodeInfo( 1 ─ %1 = Core.apply_type(Main.Type, tv)::Type{Type{_A}} where _A │ %2 = Main.UnionAll(tv, %1)::Any └── return %2 ) => Any ``` > after ```julia julia> code_typed((TypeVar,)) do tv UnionAll(tv, Type{tv}) end 1-element Vector{Any}: CodeInfo( 1 ─ %1 = Core.apply_type(Main.Type, tv)::Type{Type{_A}} where _A │ %2 = $(Expr(:foreigncall, :(:jl_type_unionall), Any, svec(Any, Any), 0, :(:ccall), Core.Argument(2), :(%1)))::Any └── return %2 ) => Any ``` 20 December 2021, 08:44:38 UTC
4409c82 add const keyword to broadcasted AndAnd (#43483) Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com> 20 December 2021, 07:20:45 UTC
f0c46b3 Tweak bounds check elimination (#42692) * Add GVN and move IRCE to allow more functions to vectorize * Canonicalize arraysize(Vector, 1) to arraylen(Vector) Co-authored-by: Prem Chintalapudi <premc@csail.mit.edu> Co-authored-by: Valentin Churavy <vchuravy@users.noreply.github.com> 18 December 2021, 21:20:41 UTC
e68c047 Fix a case of `-Wmisleading-indentation` when building with Clang (#43472) ``` In file included from /usr/home/alex/julia/src/codegen.cpp:2005: In file included from ./intrinsics.cpp:7: In file included from ./ccall.cpp:322: ./abi_x86.cpp:78:9: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] ab.addByValAttr(Ty); ^ ./abi_x86.cpp:73:5: note: previous statement is here if (is_complex64(dt) || is_complex128(dt) || (jl_is_primitivetype(dt) && size <= 8)) ^ 1 warning generated. ``` 18 December 2021, 21:19:51 UTC
6817551 Merge pull request #43465 from krynju/kr/remove-future-copy-on-serialize [Distributed] Remove (now) unnecessary copy of the Future in its serializer 18 December 2021, 19:41:34 UTC
69a879e Add percentage sign notation (#43460) The rem function should have the percentage sign notation beside it in the division functions table. 18 December 2021, 18:09:55 UTC
9a7a078 remove the copy of the future in serialize 18 December 2021, 11:57:24 UTC
eea8b14 [Serialization] support AbstractLock and GenericCondition (#43325) Locks should be unlocked when serialized, and GenericCondition should drop their waiters. Otherwise, we may try to serialize a running Task (the user should normally be holding the lock around the data they are intending to serialize), which will fail and error. 17 December 2021, 23:50:46 UTC
073900d Merge pull request #43415 from JuliaLang/jb/precompile2 some precompilation improvements 17 December 2021, 23:32:54 UTC
63f6294 Allow const declarations on mutable fields (#43305) Mark some builtin types also, although Serialization relies upon being able to mutilate the Method objects, so we do not yet mark those. Replaces #11430 Co-authored-by: Matt Bauman <mbauman@gmail.com> 17 December 2021, 21:59:21 UTC
08aa0ac support Unicode 14.0.0 (via utf8proc 2.7.0) (#43443) 17 December 2021, 20:41:16 UTC
3f6abcf make sure precompile statements are printed even for const_return functions 17 December 2021, 20:00:38 UTC
2c0e1bc make sure compilation signature is inferred when it differs from call site sig 17 December 2021, 20:00:38 UTC
7855e85 inference: some optimization improvements (#43447) - cut off allocation in `tmerge` - improve type instabilities 17 December 2021, 16:33:20 UTC
a957953 Add support for per-module max_methods. (#43370) Co-authored-by: Tim Holy <tim.holy@gmail.com> Co-authored-by: Shuhei Kadowaki <aviatesk@gmail.com> 17 December 2021, 06:39:10 UTC
55ad2f0 use IEEEFloat to clean up floats.jl (#43433) 16 December 2021, 17:35:31 UTC
3a3cf02 optimizer: use a more functional data flow for using constant calling convention (#43377) Stop mutating `opt.const_api` field to indicate the eligibility of constant calling convention. Also this commit setups a specific data type `ConstAPI` for representing constant values, which is just separated from the inference lattice type `Const`, for more clarity of data flow. 16 December 2021, 05:10:57 UTC
2e8feb2 Add test for IdSet pop with default (#43424) 15 December 2021, 22:05:34 UTC
bf8b91d 🤖 Bump the Downloads stdlib from a55825b to c445f45 (#43430) Co-authored-by: Dilum Aluthge <dilum@aluthge.com> 15 December 2021, 17:04:32 UTC
b3e4341 Manual: Move introduction about command line arguments from "Getting Started" to "Command-line options" (#42878) 14 December 2021, 16:43:21 UTC
490d78c Replace Val-types in cholesky[!] (#41640) 14 December 2021, 14:54:59 UTC
afdd6bd Fix typo: \nor is \barvee instead of \veebar (#43421) 14 December 2021, 13:32:30 UTC
9bb0aeb Mention `norm` in docstring of `hypot` (#42972) * mention norm in doc of hypot Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com> Co-authored-by: Viral B. Shah <ViralBShah@users.noreply.github.com> Co-authored-by: Jameson Nash <vtjnash@gmail.com> 14 December 2021, 02:44:23 UTC
6330398 Merge pull request #43417 from JuliaLang/vc/backport_llvm_13 [LLVM] Support LLVM 13.0.0 14 December 2021, 02:43:53 UTC
1c68695 [EE] CompilerUsed instead of Used 14 December 2021, 00:05:57 UTC
02cd72e [JuliaJITEventListener] Use llvm::StringMap 14 December 2021, 00:05:57 UTC
af07387 fix tbaa_make_child use errors in our llvm passes now caught by the verifier 14 December 2021, 00:05:57 UTC
349870e [LateLowerGCFrame] handle undef values from a shuffle vector mask The same as how we handle them if they were undef in the shuffle vector operand. 14 December 2021, 00:05:57 UTC
33284e5 Disable NewPM for llvmpasses test 14 December 2021, 00:05:57 UTC
45dee34 Cleanup MachineObjectFileInfo handling in disassembly 14 December 2021, 00:05:57 UTC
689e52c StackProtector is now a module flag 14 December 2021, 00:05:57 UTC
e7620d0 [LLVM/Win32] Force stack alignment on module 14 December 2021, 00:05:57 UTC
111d0c8 Add Type to ByVal attribute 13 December 2021, 20:11:30 UTC
cba3abf SROA: Ensure that unused structs are preserved in ccall (#43408) Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com> 13 December 2021, 16:46:37 UTC
fa8be6f Merge pull request #43405 from DilumAluthgeBot/BumpStdlibs/Pkg-247a4062 🤖 Bump the Pkg stdlib from aec716f4 to 247a4062 12 December 2021, 19:26:11 UTC
431f34e 🤖 Bump the Pkg stdlib from aec716f4 to 247a4062 12 December 2021, 13:49:11 UTC
4d1bf0b Merge pull request #43398 from krynju/kr/distributed-remote-fetch-fix [Distributed] Return value obtained from `call_on_owner` directly 11 December 2021, 18:09:54 UTC
4b97df7 add direct return of v_local 11 December 2021, 09:34:04 UTC
524bca4 optimizer: remove dead `OptimizationState` handling in `inlining_policy` (#43378) `NativeInterpreter` never hits this case, and external interpreters can always define their own `inlining_policy` in order to use whichever information they are caching. 10 December 2021, 22:01:24 UTC
07e5bd3 Merge pull request #43391 from JuliaLang/vc/export_cpufeat [CAPI] Add alias for LLVMExtraAddCPUFeaturesPass 10 December 2021, 21:01:13 UTC
5d41a76 Merge pull request #43360 from JuliaLang/jn/ranges-last refine and cleanup handling of range arithmetic 10 December 2021, 18:11:28 UTC
8a6cc9f [CAPI] Add alias for LLVMExtraAddCPUFeaturesPass 10 December 2021, 17:04:35 UTC
b6bca19 Manual: Documentation: Add information for Pluto and VS Code; move section to the top (#42879) 09 December 2021, 21:05:48 UTC
d73f2a7 Merge pull request #43383 from pchintalapudi/pc/loop-idiom Make loop-idiom useful 09 December 2021, 20:36:49 UTC
b2d09c4 Make loop-idiom useful 09 December 2021, 15:46:43 UTC
63f5b8a optimizer: clean up query interfaces (#43324) - unify `compact_exprtype` and `argextype` - remove redundant arguments - unify `is_known_call` definitions and improve the precision of `is_known_call(..., ::IRCode)` (by using `singleton_type`) 09 December 2021, 01:19:11 UTC
f60bfd1 🤖 Bump the Pkg stdlib from 0d6a726e to aec716f4 (#43373) 08 December 2021, 23:32:00 UTC
e31aec4 optimizer: factor out and improve `:foreigncall` preservations (#43356) 08 December 2021, 17:56:59 UTC
8197c41 Look for package name in `[extras]` for Preferences (#43361) * Look for package name in `[extras]` When Preferences.jl set's a preferences in a non-top-level package, it adds that package to the `[extras]` entries in the project path. Package loading should have used thhose entries to map the module uuid to the key name in the Preferences.toml Fixes https://github.com/JuliaPackaging/Preferences.jl/issues/24 Co-authored-by: Elliot Saba <staticfloat@gmail.com> 07 December 2021, 22:06:45 UTC
ff185b7 refine and cleanup handling of range arithmetic Try to be more careful about which types we use for arguments and return values and comparisons in intermediate computations. Not expected to change nominal behaviors, but may improve some unusual ranges that require some conversions or are near over/underflow. And use convert(T,1) rather than oneunit(T) to support fewer types, as we want the default step to be a unitless 1 (e.g., not Nanosecond(1)). Replaces #43058 07 December 2021, 19:07:49 UTC
bdf9ead [Dates] define arithmetic promotion for more operators 07 December 2021, 16:21:57 UTC
2e9bbda doc: manually URL encode single quote in URL to fix pdf build, fixes #43317. (#43359) 07 December 2021, 12:58:23 UTC
b6d31a1 avoid un-necessary reconfigure step on deps/gmp (#43298) 07 December 2021, 12:42:53 UTC
back to top