Ran
|
Files
346
|
Run time
5s
|
Badge
Embed ▾
README BADGES
|
push
local
Fix incorrect inlining location for early finalization (#49370) The early inlining of finalizer inside sroa_pass! had incorrect logic that would sometimes cause it to accidentally inline the finalizer at the beginning of the basic block of the last use, rather than after the final use. This generally happened when the final use is not in basic block that is the postdominator of all previous uses. Because this optimization is relatively conservative with respect to what may happen between the various uses, all our test cases had this property, so we didn't see it. This changed in b33a76359, which introduced an extra basic block in `setproperty!` causing downstream breakage. Fix the logic and add a regression test with this pattern.
72048 of 83313 relevant lines covered (86.48%)
32643934.67 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|