• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaLang / julia / #37074
77%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2021 12:19PM UTC
Jobs 1
Files 364
Run time 41s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#37074

push

local

web-flow
optimizer: SROA `mutable(immutable(...))` case correctly (#43239)

Our SROA should be able to handle `mutable(immutable(...))` case even
without "proper" alias analysis, since we eliminate `immutable` first
and then process `mutable` within our iterative approach.

It turns out it didn't work because after the immutable handling
we keep the reference count _before_ DCE, but didn't update dead 
reference count. This commit fixes it and now we should be able to 
eliminate more allocations, e.g.:
```julia
julia> simple_sroa(s) = broadcast(identity, Ref(s))
simple_sroa (generic function with 1 method)

julia> simple_sroa("compile"); @allocated(simple_sroa("julia"))
0
```

7 of 7 new or added lines in 2 files covered. (100.0%)

71912 of 80323 relevant lines covered (89.53%)

15141531.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #37074.1 29 Nov 2021 12:19PM UTC 0
89.53
Source Files on build #37074
Detailed source file information is not available for this build.
  • Back to Repo
  • 1a1f3d70 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc