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

JuliaLang / julia / #37074 / 1
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2021 12:19PM UTC
Files 364
Run time 40s
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

29 Nov 2021 02:21AM UTC coverage: 89.529% (+0.02%) from 89.507%
#37074.1

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
```

71912 of 80323 relevant lines covered (89.53%)

15141531.94 hits per line

Source Files on job #37074.1
  • Tree
  • List 0
  • Changed 262
  • Source Changed 3
  • Coverage Changed 261
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 37074
  • 1a1f3d70 on github
  • Prev Job for on master (##37073.1)
  • Next Job for on master (##37075.1)
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