https://github.com/JuliaLang/julia
Revision 1b600f0b77b59e2d04e1377f4ac53f39b99ffedd authored by Shuhei Kadowaki on 05 January 2022, 14:11:26 UTC, committed by GitHub on 05 January 2022, 14:11:26 UTC
Makes full use of constant-propagation, by addressing this [TODO](https://github.com/JuliaLang/julia/blob/00734c5fd045316a00d287ca2c0ec1a2eef6e4d1/base/compiler/ssair/inlining.jl#L1212).
Here is a performance improvement from #43287:
```julia
ulia> using BenchmarkTools

julia> X = rand(ComplexF32, 64, 64);

julia> dst = reinterpret(reshape, Float32, X);

julia> src = copy(dst);

julia> @btime copyto!($dst, $src);
  50.819 μs (1 allocation: 32 bytes) # v1.6.4
  41.081 μs (0 allocations: 0 bytes) # this commit
```

fixes #43287
1 parent 85a6990
History
Tip revision: 1b600f0b77b59e2d04e1377f4ac53f39b99ffedd authored by Shuhei Kadowaki on 05 January 2022, 14:11:26 UTC
optimizer: fully support inlining of union-split, partially constant-prop' callsite (#43347)
Tip revision: 1b600f0
File Mode Size
.buildkite
.devcontainer
.github
base
cli
contrib
deps
doc
etc
src
stdlib
test
.clang-format -rw-r--r-- 3.3 KB
.codecov.yml -rw-r--r-- 52 bytes
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 433 bytes
.mailmap -rw-r--r-- 11.1 KB
CITATION.bib -rw-r--r-- 513 bytes
CITATION.cff -rw-r--r-- 942 bytes
CONTRIBUTING.md -rw-r--r-- 22.5 KB
HISTORY.md -rw-r--r-- 333.2 KB
LICENSE.md -rw-r--r-- 1.3 KB
Make.inc -rw-r--r-- 49.3 KB
Makefile -rw-r--r-- 25.6 KB
NEWS.md -rw-r--r-- 9.9 KB
README.md -rw-r--r-- 7.4 KB
THIRDPARTY.md -rw-r--r-- 3.7 KB
VERSION -rw-r--r-- 10 bytes
julia.spdx.json -rw-r--r-- 35.0 KB
sysimage.mk -rw-r--r-- 4.0 KB

README.md

back to top