Skip to content

Conversation

cjgillot
Copy link
Contributor

@cjgillot cjgillot commented Jul 2, 2025

This PR is more a toy than anything else, but I still think the implementation is sound.

Current GVN MIR opt can be easily extended to track values that change inside a basic block. This PR attempts that.

r? @ghost for perf

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jul 2, 2025
@rust-log-analyzer

This comment has been minimized.

@cjgillot cjgillot force-pushed the local-value-numbering branch from c7dac45 to 62766e3 Compare July 2, 2025 22:11
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@cjgillot cjgillot added the A-mir-opt-GVN Area: MIR opt Global Value Numbering (GVN) label Jul 5, 2025
@cjgillot
Copy link
Contributor Author

cjgillot commented Jul 5, 2025

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jul 5, 2025
bors added a commit that referenced this pull request Jul 5, 2025
[TOY] Extend GVN to perform local value numbering.

This PR is more a toy than anything else, but I still think the implementation is sound.

Current GVN MIR opt can be easily extended to track values that change inside a basic block. This PR attempts that.

r? `@ghost` for perf
@bors
Copy link
Collaborator

bors commented Jul 5, 2025

⌛ Trying commit c3be10b with merge faceb52...

@bors
Copy link
Collaborator

bors commented Jul 5, 2025

☀️ Try build successful - checks-actions
Build commit: faceb52 (faceb52e72c06f94883ba351a73c83544ab4154b)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (faceb52): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Benchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @rustbot label: +perf-regression-triaged. If not, please fix the regressions and do another perf run. If its results are neutral or positive, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
15.4% [0.2%, 937.4%] 227
Regressions ❌
(secondary)
10.3% [0.2%, 569.6%] 237
Improvements ✅
(primary)
-1.1% [-1.8%, -0.4%] 2
Improvements ✅
(secondary)
-1.3% [-4.1%, -0.3%] 16
All ❌✅ (primary) 15.3% [-1.8%, 937.4%] 229

Max RSS (memory usage)

Results (primary 9.1%, secondary 2.4%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
71.9% [1.6%, 377.4%] 14
Regressions ❌
(secondary)
28.4% [2.2%, 134.5%] 15
Improvements ✅
(primary)
-2.0% [-7.5%, -0.7%] 79
Improvements ✅
(secondary)
-2.5% [-3.5%, -0.8%] 80
All ❌✅ (primary) 9.1% [-7.5%, 377.4%] 93

Cycles

Results (primary 44.8%, secondary 29.7%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
46.5% [2.3%, 299.4%] 27
Regressions ❌
(secondary)
40.6% [2.4%, 263.2%] 28
Improvements ✅
(primary)
-2.1% [-2.1%, -2.1%] 1
Improvements ✅
(secondary)
-4.2% [-6.7%, -2.4%] 9
All ❌✅ (primary) 44.8% [-2.1%, 299.4%] 28

Binary size

Results (primary -0.1%, secondary 0.1%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
0.2% [0.0%, 0.6%] 37
Regressions ❌
(secondary)
0.5% [0.0%, 1.7%] 70
Improvements ✅
(primary)
-0.3% [-1.3%, -0.0%] 54
Improvements ✅
(secondary)
-1.0% [-12.8%, -0.0%] 24
All ❌✅ (primary) -0.1% [-1.3%, 0.6%] 91

Bootstrap: 458.797s -> 582.037s (26.86%)
Artifact size: 372.11 MiB -> 361.76 MiB (-2.78%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Jul 5, 2025
@cjgillot cjgillot force-pushed the local-value-numbering branch from c3be10b to e521268 Compare July 6, 2025 08:54
@cjgillot
Copy link
Contributor Author

cjgillot commented Jul 6, 2025

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jul 6, 2025
bors added a commit that referenced this pull request Jul 6, 2025
[TOY] Extend GVN to perform local value numbering.

This PR is more a toy than anything else, but I still think the implementation is sound.

Current GVN MIR opt can be easily extended to track values that change inside a basic block. This PR attempts that.

r? `@ghost` for perf
@bors
Copy link
Collaborator

bors commented Jul 6, 2025

⌛ Trying commit e521268 with merge dc4aa90...

@cjgillot cjgillot force-pushed the local-value-numbering branch from e521268 to 0293254 Compare July 6, 2025 08:55
@cjgillot
Copy link
Contributor Author

cjgillot commented Jul 6, 2025

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

bors added a commit that referenced this pull request Jul 6, 2025
[TOY] Extend GVN to perform local value numbering.

This PR is more a toy than anything else, but I still think the implementation is sound.

Current GVN MIR opt can be easily extended to track values that change inside a basic block. This PR attempts that.

r? `@ghost` for perf
@bors
Copy link
Collaborator

bors commented Jul 6, 2025

⌛ Trying commit 0293254 with merge 4d16c54...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Jul 6, 2025

☀️ Try build successful - checks-actions
Build commit: 4d16c54 (4d16c544e50b0f84cc5347467c108e93106aa8f9)

@rust-timer

This comment has been minimized.

@Kobzol
Copy link
Member

Kobzol commented Jul 6, 2025

Note: we had some network issues on the collector and this benchmark was restarted multiple times. I hope that it didn't affect the results, but in case it comes out weirdly, I'd rerun it (this PR would probably have "weird" results anyway though 😆).

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (4d16c54): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Benchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @rustbot label: +perf-regression-triaged. If not, please fix the regressions and do another perf run. If its results are neutral or positive, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
3.1% [0.1%, 24.5%] 33
Regressions ❌
(secondary)
3.2% [0.0%, 21.9%] 27
Improvements ✅
(primary)
-0.4% [-2.1%, -0.2%] 12
Improvements ✅
(secondary)
-0.4% [-0.9%, -0.1%] 55
All ❌✅ (primary) 2.2% [-2.1%, 24.5%] 45

Max RSS (memory usage)

Results (primary 48.7%, secondary 33.4%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
57.1% [1.0%, 382.4%] 18
Regressions ❌
(secondary)
51.3% [2.8%, 136.0%] 8
Improvements ✅
(primary)
-1.8% [-2.5%, -1.4%] 3
Improvements ✅
(secondary)
-2.3% [-2.6%, -2.1%] 4
All ❌✅ (primary) 48.7% [-2.5%, 382.4%] 21

Cycles

Results (primary 8.6%, secondary 14.5%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
10.9% [1.4%, 36.5%] 10
Regressions ❌
(secondary)
14.5% [2.8%, 34.4%] 7
Improvements ✅
(primary)
-2.5% [-2.7%, -2.3%] 2
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 8.6% [-2.7%, 36.5%] 12

Binary size

Results (primary -0.1%, secondary -0.7%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
0.4% [0.0%, 1.0%] 3
Regressions ❌
(secondary)
0.2% [0.1%, 0.5%] 4
Improvements ✅
(primary)
-0.1% [-0.7%, -0.0%] 51
Improvements ✅
(secondary)
-0.9% [-13.0%, -0.0%] 17
All ❌✅ (primary) -0.1% [-0.7%, 1.0%] 54

Bootstrap: 460.756s -> 480.789s (4.35%)
Artifact size: 372.14 MiB -> 371.68 MiB (-0.12%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jul 6, 2025
@cjgillot cjgillot force-pushed the local-value-numbering branch from 0293254 to 290a3bc Compare August 23, 2025 23:04
@cjgillot
Copy link
Contributor Author

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

rust-bors bot added a commit that referenced this pull request Aug 23, 2025
[TOY] Extend GVN to perform local value numbering.
@rust-bors

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Aug 23, 2025
@rust-log-analyzer
Copy link
Collaborator

The job aarch64-gnu-llvm-19-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Saved the actual cov-map to `/checkout/obj/build/aarch64-unknown-linux-gnu/test/coverage/conditions.coverage-map/conditions.cov-map`
diff of cov-map:

1 Function name: conditions::main
- Raw bytes (595): 0x[01, 01, 43, 05, 09, 01, 05, 09, 51, 09, 13, 51, 55, 01, 03, 03, 0d, 11, 49, 11, 27, 49, 4d, 03, 63, 0d, 11, 0d, 11, 0d, 11, 0d, 11, 0d, 11, 0d, 11, 0d, 11, 63, 15, 0d, 11, 19, 41, 19, 5b, 41, 45, 63, cb, 01, 0d, 11, 15, 19, 15, 19, 15, 19, 15, 19, 15, 19, 1d, 21, 15, 19, cb, 01, 1d, 15, 19, 21, 39, 21, 93, 01, 39, 3d, cb, 01, 87, 02, 15, 19, 1d, 21, cb, 01, 87, 02, 15, 19, 1d, 21, cb, 01, 87, 02, 15, 19, 1d, 21, cb, 01, 87, 02, 15, 19, 1d, 21, cb, 01, 87, 02, 15, 19, 1d, 21, 25, 29, 1d, 21, 87, 02, 25, 1d, 21, 29, 2d, 29, ff, 01, 2d, 31, ff, 01, 35, 2d, 31, 29, fb, 01, ff, 01, 35, 2d, 31, 87, 02, 8b, 02, 1d, 21, 25, 29, 53, 01, 03, 01, 00, 0a, 01, 01, 09, 00, 16, 01, 00, 19, 00, 1a, 01, 01, 08, 00, 0c, 01, 00, 0d, 02, 06, 00, 02, 05, 00, 06, 03, 03, 09, 00, 0a, 01, 00, 10, 00, 1d, 05, 01, 09, 00, 17, 05, 01, 09, 00, 0a, 06, 01, 0f, 00, 1c, 09, 01, 0c, 00, 19, 0a, 00, 1d, 00, 2a, 0e, 00, 2e, 00, 3c, 09, 00, 3d, 02, 0a, 00, 02, 09, 00, 0a, 09, 01, 09, 00, 17, 09, 01, 09, 00, 12, 16, 02, 09, 00, 0f, 03, 03, 09, 00, 16, 03, 00, 19, 00, 1a, 03, 01, 08, 00, 0c, 03, 00, 0d, 02, 06, 00, 02, 05, 00, 06, 03, 02, 08, 00, 15, 0d, 00, 16, 02, 06, 1a, 02, 0f, 00, 1c, 11, 01, 0c, 00, 19, 1e, 00, 1d, 00, 2a, 22, 00, 2e, 00, 3c, 11, 00, 3d, 02, 0a, 00, 02, 09, 00, 0a, 11, 01, 09, 00, 17, 2a, 02, 09, 00, 0f, 63, 03, 08, 00, 0c, 63, 01, 0d, 00, 1a, 63, 00, 1d, 00, 1e, 63, 01, 0c, 00, 10, 63, 00, 11, 02, 0a, 00, 02, 09, 00, 0a, 63, 02, 0c, 00, 19, 15, 00, 1a, 02, 0a, 4a, 04, 11, 00, 1e, 19, 01, 10, 00, 1d, 52, 00, 21, 00, 2e, 56, 00, 32, 00, 40, 19, 00, 41, 02, 0e, 00, 02, 0d, 00, 0e, 19, 01, 0d, 00, 1b, 5e, 02, 0d, 00, 13, 00, 02, 05, 00, 06, cb, 01, 02, 09, 00, 16, cb, 01, 00, 19, 00, 1a, cb, 01, 01, 08, 00, 0c, cb, 01, 00, 0d, 02, 06, 00, 02, 05, 00, 06, 87, 02, 02, 09, 00, 0a, cb, 01, 00, 10, 00, 1d, 1d, 00, 1e, 02, 06, 82, 01, 02, 0f, 00, 1c, 21, 01, 0c, 00, 19, 8a, 01, 00, 1d, 00, 2a, 8e, 01, 00, 2e, 00, 3c, 21, 00, 3d, 02, 0a, 00, 02, 09, 00, 0a, 21, 01, 09, 00, 17, c6, 01, 02, 0d, 00, 20, c6, 01, 00, 23, 00, 2c, c6, 01, 01, 09, 00, 11, c6, 01, 00, 12, 00, 1b, c6, 01, 01, 09, 00, 0f, 8b, 02, 03, 09, 00, 0a, 87, 02, 00, 10, 00, 1d, 25, 00, 1e, 02, 06, da, 01, 02, 0f, 00, 1c, 29, 01, 0c, 00, 19, e2, 01, 00, 1d, 00, 2a, e6, 01, 00, 2e, 00, 3c, fb, 01, 00, 3d, 02, 0a, f6, 01, 02, 09, 00, 0a, 29, 01, 09, 00, 17, 82, 02, 02, 09, 00, 0f, 01, 02, 01, 00, 02]
+ Raw bytes (656): 0x[01, 01, 57, 05, 09, 01, 05, 09, 5d, 09, 27, 5d, 61, 27, 65, 5d, 61, 09, 23, 27, 65, 5d, 61, 01, 03, 03, 0d, 11, 51, 11, 4f, 51, 55, 4f, 59, 51, 55, 11, 4b, 4f, 59, 51, 55, 03, 9f, 01, 0d, 11, 0d, 11, 0d, 11, 0d, 11, 0d, 11, 0d, 11, 0d, 11, 9f, 01, 15, 0d, 11, 19, 45, 19, 97, 01, 45, 49, 97, 01, 4d, 45, 49, 19, 93, 01, 97, 01, 4d, 45, 49, 9f, 01, 9b, 02, 0d, 11, 15, 19, 15, 19, 15, 19, 15, 19, 15, 19, 1d, 21, 15, 19, 9b, 02, 1d, 15, 19, 21, 39, 21, e3, 01, 39, 3d, e3, 01, 41, 39, 3d, 21, df, 01, e3, 01, 41, 39, 3d, 9b, 02, d7, 02, 15, 19, 1d, 21, 9b, 02, d7, 02, 15, 19, 1d, 21, 9b, 02, d7, 02, 15, 19, 1d, 21, 9b, 02, d7, 02, 15, 19, 1d, 21, 9b, 02, d7, 02, 15, 19, 1d, 21, 25, 29, 1d, 21, d7, 02, 25, 1d, 21, 29, 2d, 29, cf, 02, 2d, 31, cf, 02, 35, 2d, 31, 29, cb, 02, cf, 02, 35, 2d, 31, d7, 02, db, 02, 1d, 21, 25, 29, 53, 01, 03, 01, 00, 0a, 01, 01, 09, 00, 16, 01, 00, 19, 00, 1a, 01, 01, 08, 00, 0c, 01, 00, 0d, 02, 06, 00, 02, 05, 00, 06, 03, 03, 09, 00, 0a, 01, 00, 10, 00, 1d, 05, 01, 09, 00, 17, 05, 01, 09, 00, 0a, 06, 01, 0f, 00, 1c, 09, 01, 0c, 00, 19, 0a, 00, 1d, 00, 2a, 0e, 00, 2e, 00, 3c, 23, 00, 3d, 02, 0a, 1e, 02, 09, 00, 0a, 09, 01, 09, 00, 17, 09, 01, 09, 00, 12, 2a, 02, 09, 00, 0f, 03, 03, 09, 00, 16, 03, 00, 19, 00, 1a, 03, 01, 08, 00, 0c, 03, 00, 0d, 02, 06, 00, 02, 05, 00, 06, 03, 02, 08, 00, 15, 0d, 00, 16, 02, 06, 2e, 02, 0f, 00, 1c, 11, 01, 0c, 00, 19, 32, 00, 1d, 00, 2a, 36, 00, 2e, 00, 3c, 4b, 00, 3d, 02, 0a, 46, 02, 09, 00, 0a, 11, 01, 09, 00, 17, 52, 02, 09, 00, 0f, 9f, 01, 03, 08, 00, 0c, 9f, 01, 01, 0d, 00, 1a, 9f, 01, 00, 1d, 00, 1e, 9f, 01, 01, 0c, 00, 10, 9f, 01, 00, 11, 02, 0a, 00, 02, 09, 00, 0a, 9f, 01, 02, 0c, 00, 19, 15, 00, 1a, 02, 0a, 72, 04, 11, 00, 1e, 19, 01, 10, 00, 1d, 7a, 00, 21, 00, 2e, 7e, 00, 32, 00, 40, 93, 01, 00, 41, 02, 0e, 8e, 01, 02, 0d, 00, 0e, 19, 01, 0d, 00, 1b, 9a, 01, 02, 0d, 00, 13, 00, 02, 05, 00, 06, 9b, 02, 02, 09, 00, 16, 9b, 02, 00, 19, 00, 1a, 9b, 02, 01, 08, 00, 0c, 9b, 02, 00, 0d, 02, 06, 00, 02, 05, 00, 06, d7, 02, 02, 09, 00, 0a, 9b, 02, 00, 10, 00, 1d, 1d, 00, 1e, 02, 06, be, 01, 02, 0f, 00, 1c, 21, 01, 0c, 00, 19, c6, 01, 00, 1d, 00, 2a, ca, 01, 00, 2e, 00, 3c, df, 01, 00, 3d, 02, 0a, da, 01, 02, 09, 00, 0a, 21, 01, 09, 00, 17, 96, 02, 02, 0d, 00, 20, 96, 02, 00, 23, 00, 2c, 96, 02, 01, 09, 00, 11, 96, 02, 00, 12, 00, 1b, 96, 02, 01, 09, 00, 0f, db, 02, 03, 09, 00, 0a, d7, 02, 00, 10, 00, 1d, 25, 00, 1e, 02, 06, aa, 02, 02, 0f, 00, 1c, 29, 01, 0c, 00, 19, b2, 02, 00, 1d, 00, 2a, b6, 02, 00, 2e, 00, 3c, cb, 02, 00, 3d, 02, 0a, c6, 02, 02, 09, 00, 0a, 29, 01, 09, 00, 17, d2, 02, 02, 09, 00, 0f, 01, 02, 01, 00, 02]
3 Number of files: 1
4 - file 0 => $DIR/conditions.rs
- Number of expressions: 67
+ Number of expressions: 87
6 - expression 0 operands: lhs = Counter(1), rhs = Counter(2)
7 - expression 1 operands: lhs = Counter(0), rhs = Counter(1)
- - expression 2 operands: lhs = Counter(2), rhs = Counter(20)
- - expression 3 operands: lhs = Counter(2), rhs = Expression(4, Add)
- - expression 4 operands: lhs = Counter(20), rhs = Counter(21)
- - expression 5 operands: lhs = Counter(0), rhs = Expression(0, Add)
- - expression 6 operands: lhs = Expression(0, Add), rhs = Counter(3)
- - expression 7 operands: lhs = Counter(4), rhs = Counter(18)
- - expression 8 operands: lhs = Counter(4), rhs = Expression(9, Add)
- - expression 9 operands: lhs = Counter(18), rhs = Counter(19)
- - expression 10 operands: lhs = Expression(0, Add), rhs = Expression(24, Add)
- - expression 11 operands: lhs = Counter(3), rhs = Counter(4)
- - expression 12 operands: lhs = Counter(3), rhs = Counter(4)
- - expression 13 operands: lhs = Counter(3), rhs = Counter(4)
- - expression 14 operands: lhs = Counter(3), rhs = Counter(4)
- - expression 15 operands: lhs = Counter(3), rhs = Counter(4)
- - expression 16 operands: lhs = Counter(3), rhs = Counter(4)
- - expression 17 operands: lhs = Counter(3), rhs = Counter(4)
- - expression 18 operands: lhs = Expression(24, Add), rhs = Counter(5)
- - expression 19 operands: lhs = Counter(3), rhs = Counter(4)
- - expression 20 operands: lhs = Counter(6), rhs = Counter(16)
- - expression 21 operands: lhs = Counter(6), rhs = Expression(22, Add)
- - expression 22 operands: lhs = Counter(16), rhs = Counter(17)
- - expression 23 operands: lhs = Expression(24, Add), rhs = Expression(50, Add)
+ - expression 2 operands: lhs = Counter(2), rhs = Counter(23)
+ - expression 3 operands: lhs = Counter(2), rhs = Expression(9, Add)
+ - expression 4 operands: lhs = Counter(23), rhs = Counter(24)
+ - expression 5 operands: lhs = Expression(9, Add), rhs = Counter(25)
+ - expression 6 operands: lhs = Counter(23), rhs = Counter(24)
+ - expression 7 operands: lhs = Counter(2), rhs = Expression(8, Add)
+ - expression 8 operands: lhs = Expression(9, Add), rhs = Counter(25)
+ - expression 9 operands: lhs = Counter(23), rhs = Counter(24)
+ - expression 10 operands: lhs = Counter(0), rhs = Expression(0, Add)
+ - expression 11 operands: lhs = Expression(0, Add), rhs = Counter(3)
+ - expression 12 operands: lhs = Counter(4), rhs = Counter(20)
+ - expression 13 operands: lhs = Counter(4), rhs = Expression(19, Add)
+ - expression 14 operands: lhs = Counter(20), rhs = Counter(21)
+ - expression 15 operands: lhs = Expression(19, Add), rhs = Counter(22)
+ - expression 16 operands: lhs = Counter(20), rhs = Counter(21)
+ - expression 17 operands: lhs = Counter(4), rhs = Expression(18, Add)
+ - expression 18 operands: lhs = Expression(19, Add), rhs = Counter(22)
+ - expression 19 operands: lhs = Counter(20), rhs = Counter(21)
+ - expression 20 operands: lhs = Expression(0, Add), rhs = Expression(39, Add)
+ - expression 21 operands: lhs = Counter(3), rhs = Counter(4)
+ - expression 22 operands: lhs = Counter(3), rhs = Counter(4)
+ - expression 23 operands: lhs = Counter(3), rhs = Counter(4)
30 - expression 24 operands: lhs = Counter(3), rhs = Counter(4)
- - expression 25 operands: lhs = Counter(5), rhs = Counter(6)
- - expression 26 operands: lhs = Counter(5), rhs = Counter(6)
- - expression 27 operands: lhs = Counter(5), rhs = Counter(6)
- - expression 28 operands: lhs = Counter(5), rhs = Counter(6)
- - expression 29 operands: lhs = Counter(5), rhs = Counter(6)
- - expression 30 operands: lhs = Counter(7), rhs = Counter(8)
- - expression 31 operands: lhs = Counter(5), rhs = Counter(6)
- - expression 32 operands: lhs = Expression(50, Add), rhs = Counter(7)
- - expression 33 operands: lhs = Counter(5), rhs = Counter(6)
- - expression 34 operands: lhs = Counter(8), rhs = Counter(14)
- - expression 35 operands: lhs = Counter(8), rhs = Expression(36, Add)
- - expression 36 operands: lhs = Counter(14), rhs = Counter(15)
- - expression 37 operands: lhs = Expression(50, Add), rhs = Expression(65, Add)
- - expression 38 operands: lhs = Counter(5), rhs = Counter(6)
- - expression 39 operands: lhs = Counter(7), rhs = Counter(8)
- - expression 40 operands: lhs = Expression(50, Add), rhs = Expression(65, Add)
+ - expression 25 operands: lhs = Counter(3), rhs = Counter(4)
+ - expression 26 operands: lhs = Counter(3), rhs = Counter(4)
+ - expression 27 operands: lhs = Counter(3), rhs = Counter(4)
+ - expression 28 operands: lhs = Expression(39, Add), rhs = Counter(5)
+ - expression 29 operands: lhs = Counter(3), rhs = Counter(4)
+ - expression 30 operands: lhs = Counter(6), rhs = Counter(17)
+ - expression 31 operands: lhs = Counter(6), rhs = Expression(37, Add)
+ - expression 32 operands: lhs = Counter(17), rhs = Counter(18)
+ - expression 33 operands: lhs = Expression(37, Add), rhs = Counter(19)
+ - expression 34 operands: lhs = Counter(17), rhs = Counter(18)
+ - expression 35 operands: lhs = Counter(6), rhs = Expression(36, Add)
+ - expression 36 operands: lhs = Expression(37, Add), rhs = Counter(19)
+ - expression 37 operands: lhs = Counter(17), rhs = Counter(18)
+ - expression 38 operands: lhs = Expression(39, Add), rhs = Expression(70, Add)
+ - expression 39 operands: lhs = Counter(3), rhs = Counter(4)
+ - expression 40 operands: lhs = Counter(5), rhs = Counter(6)
47 - expression 41 operands: lhs = Counter(5), rhs = Counter(6)
- - expression 42 operands: lhs = Counter(7), rhs = Counter(8)
- - expression 43 operands: lhs = Expression(50, Add), rhs = Expression(65, Add)
+ - expression 42 operands: lhs = Counter(5), rhs = Counter(6)
+ - expression 43 operands: lhs = Counter(5), rhs = Counter(6)
50 - expression 44 operands: lhs = Counter(5), rhs = Counter(6)
51 - expression 45 operands: lhs = Counter(7), rhs = Counter(8)
- - expression 46 operands: lhs = Expression(50, Add), rhs = Expression(65, Add)
- - expression 47 operands: lhs = Counter(5), rhs = Counter(6)
- - expression 48 operands: lhs = Counter(7), rhs = Counter(8)
- - expression 49 operands: lhs = Expression(50, Add), rhs = Expression(65, Add)
- - expression 50 operands: lhs = Counter(5), rhs = Counter(6)
- - expression 51 operands: lhs = Counter(7), rhs = Counter(8)
- - expression 52 operands: lhs = Counter(9), rhs = Counter(10)
- - expression 53 operands: lhs = Counter(7), rhs = Counter(8)
- - expression 54 operands: lhs = Expression(65, Add), rhs = Counter(9)
- - expression 55 operands: lhs = Counter(7), rhs = Counter(8)
- - expression 56 operands: lhs = Counter(10), rhs = Counter(11)
- - expression 57 operands: lhs = Counter(10), rhs = Expression(63, Add)
- - expression 58 operands: lhs = Counter(11), rhs = Counter(12)
- - expression 59 operands: lhs = Expression(63, Add), rhs = Counter(13)
- - expression 60 operands: lhs = Counter(11), rhs = Counter(12)
- - expression 61 operands: lhs = Counter(10), rhs = Expression(62, Add)
- - expression 62 operands: lhs = Expression(63, Add), rhs = Counter(13)
- - expression 63 operands: lhs = Counter(11), rhs = Counter(12)
- - expression 64 operands: lhs = Expression(65, Add), rhs = Expression(66, Add)
+ - expression 46 operands: lhs = Counter(5), rhs = Counter(6)
+ - expression 47 operands: lhs = Expression(70, Add), rhs = Counter(7)
+ - expression 48 operands: lhs = Counter(5), rhs = Counter(6)
+ - expression 49 operands: lhs = Counter(8), rhs = Counter(14)
+ - expression 50 operands: lhs = Counter(8), rhs = Expression(56, Add)
+ - expression 51 operands: lhs = Counter(14), rhs = Counter(15)
+ - expression 52 operands: lhs = Expression(56, Add), rhs = Counter(16)
+ - expression 53 operands: lhs = Counter(14), rhs = Counter(15)
+ - expression 54 operands: lhs = Counter(8), rhs = Expression(55, Add)
+ - expression 55 operands: lhs = Expression(56, Add), rhs = Counter(16)
+ - expression 56 operands: lhs = Counter(14), rhs = Counter(15)
+ - expression 57 operands: lhs = Expression(70, Add), rhs = Expression(85, Add)
+ - expression 58 operands: lhs = Counter(5), rhs = Counter(6)
+ - expression 59 operands: lhs = Counter(7), rhs = Counter(8)
+ - expression 60 operands: lhs = Expression(70, Add), rhs = Expression(85, Add)
+ - expression 61 operands: lhs = Counter(5), rhs = Counter(6)
+ - expression 62 operands: lhs = Counter(7), rhs = Counter(8)
+ - expression 63 operands: lhs = Expression(70, Add), rhs = Expression(85, Add)
+ - expression 64 operands: lhs = Counter(5), rhs = Counter(6)
71 - expression 65 operands: lhs = Counter(7), rhs = Counter(8)
- - expression 66 operands: lhs = Counter(9), rhs = Counter(10)
+ - expression 66 operands: lhs = Expression(70, Add), rhs = Expression(85, Add)
+ - expression 67 operands: lhs = Counter(5), rhs = Counter(6)
+ - expression 68 operands: lhs = Counter(7), rhs = Counter(8)
+ - expression 69 operands: lhs = Expression(70, Add), rhs = Expression(85, Add)
+ - expression 70 operands: lhs = Counter(5), rhs = Counter(6)
+ - expression 71 operands: lhs = Counter(7), rhs = Counter(8)
+ - expression 72 operands: lhs = Counter(9), rhs = Counter(10)
+ - expression 73 operands: lhs = Counter(7), rhs = Counter(8)
+ - expression 74 operands: lhs = Expression(85, Add), rhs = Counter(9)
+ - expression 75 operands: lhs = Counter(7), rhs = Counter(8)
+ - expression 76 operands: lhs = Counter(10), rhs = Counter(11)
+ - expression 77 operands: lhs = Counter(10), rhs = Expression(83, Add)
+ - expression 78 operands: lhs = Counter(11), rhs = Counter(12)
+ - expression 79 operands: lhs = Expression(83, Add), rhs = Counter(13)
+ - expression 80 operands: lhs = Counter(11), rhs = Counter(12)
+ - expression 81 operands: lhs = Counter(10), rhs = Expression(82, Add)
+ - expression 82 operands: lhs = Expression(83, Add), rhs = Counter(13)
+ - expression 83 operands: lhs = Counter(11), rhs = Counter(12)
+ - expression 84 operands: lhs = Expression(85, Add), rhs = Expression(86, Add)
+ - expression 85 operands: lhs = Counter(7), rhs = Counter(8)
+ - expression 86 operands: lhs = Counter(9), rhs = Counter(10)
73 Number of file 0 mappings: 83
74 - Code(Counter(0)) at (prev + 3, 1) to (start + 0, 10)
75 - Code(Counter(0)) at (prev + 1, 9) to (start + 0, 22)

86     = (c0 - c1)
87 - Code(Counter(2)) at (prev + 1, 12) to (start + 0, 25)
88 - Code(Expression(2, Sub)) at (prev + 0, 29) to (start + 0, 42)
-     = (c2 - c20)
+     = (c2 - c23)
90 - Code(Expression(3, Sub)) at (prev + 0, 46) to (start + 0, 60)
-     = (c2 - (c20 + c21))
- - Code(Counter(2)) at (prev + 0, 61) to (start + 2, 10)
- - Code(Zero) at (prev + 2, 9) to (start + 0, 10)
+     = (c2 - (c23 + c24))
+ - Code(Expression(8, Add)) at (prev + 0, 61) to (start + 2, 10)
+     = ((c23 + c24) + c25)
+ - Code(Expression(7, Sub)) at (prev + 2, 9) to (start + 0, 10)
+     = (c2 - ((c23 + c24) + c25))
94 - Code(Counter(2)) at (prev + 1, 9) to (start + 0, 23)
95 - Code(Counter(2)) at (prev + 1, 9) to (start + 0, 18)
- - Code(Expression(5, Sub)) at (prev + 2, 9) to (start + 0, 15)
+ - Code(Expression(10, Sub)) at (prev + 2, 9) to (start + 0, 15)
97     = (c0 - (c1 + c2))
98 - Code(Expression(0, Add)) at (prev + 3, 9) to (start + 0, 22)
99     = (c1 + c2)

107 - Code(Expression(0, Add)) at (prev + 2, 8) to (start + 0, 21)
108     = (c1 + c2)
109 - Code(Counter(3)) at (prev + 0, 22) to (start + 2, 6)
- - Code(Expression(6, Sub)) at (prev + 2, 15) to (start + 0, 28)
+ - Code(Expression(11, Sub)) at (prev + 2, 15) to (start + 0, 28)
111     = ((c1 + c2) - c3)
112 - Code(Counter(4)) at (prev + 1, 12) to (start + 0, 25)
- - Code(Expression(7, Sub)) at (prev + 0, 29) to (start + 0, 42)
-     = (c4 - c18)
- - Code(Expression(8, Sub)) at (prev + 0, 46) to (start + 0, 60)
-     = (c4 - (c18 + c19))
- - Code(Counter(4)) at (prev + 0, 61) to (start + 2, 10)
- - Code(Zero) at (prev + 2, 9) to (start + 0, 10)
+ - Code(Expression(12, Sub)) at (prev + 0, 29) to (start + 0, 42)
+     = (c4 - c20)
+ - Code(Expression(13, Sub)) at (prev + 0, 46) to (start + 0, 60)
+     = (c4 - (c20 + c21))
+ - Code(Expression(18, Add)) at (prev + 0, 61) to (start + 2, 10)
+     = ((c20 + c21) + c22)
+ - Code(Expression(17, Sub)) at (prev + 2, 9) to (start + 0, 10)
+     = (c4 - ((c20 + c21) + c22))
119 - Code(Counter(4)) at (prev + 1, 9) to (start + 0, 23)
- - Code(Expression(10, Sub)) at (prev + 2, 9) to (start + 0, 15)
+ - Code(Expression(20, Sub)) at (prev + 2, 9) to (start + 0, 15)
121     = ((c1 + c2) - (c3 + c4))
- - Code(Expression(24, Add)) at (prev + 3, 8) to (start + 0, 12)
+ - Code(Expression(39, Add)) at (prev + 3, 8) to (start + 0, 12)
123     = (c3 + c4)
- - Code(Expression(24, Add)) at (prev + 1, 13) to (start + 0, 26)
+ - Code(Expression(39, Add)) at (prev + 1, 13) to (start + 0, 26)
125     = (c3 + c4)
- - Code(Expression(24, Add)) at (prev + 0, 29) to (start + 0, 30)
+ - Code(Expression(39, Add)) at (prev + 0, 29) to (start + 0, 30)
127     = (c3 + c4)
- - Code(Expression(24, Add)) at (prev + 1, 12) to (start + 0, 16)
+ - Code(Expression(39, Add)) at (prev + 1, 12) to (start + 0, 16)
129     = (c3 + c4)
- - Code(Expression(24, Add)) at (prev + 0, 17) to (start + 2, 10)
+ - Code(Expression(39, Add)) at (prev + 0, 17) to (start + 2, 10)
131     = (c3 + c4)
132 - Code(Zero) at (prev + 2, 9) to (start + 0, 10)
- - Code(Expression(24, Add)) at (prev + 2, 12) to (start + 0, 25)
+ - Code(Expression(39, Add)) at (prev + 2, 12) to (start + 0, 25)
134     = (c3 + c4)
135 - Code(Counter(5)) at (prev + 0, 26) to (start + 2, 10)
- - Code(Expression(18, Sub)) at (prev + 4, 17) to (start + 0, 30)
+ - Code(Expression(28, Sub)) at (prev + 4, 17) to (start + 0, 30)
137     = ((c3 + c4) - c5)
138 - Code(Counter(6)) at (prev + 1, 16) to (start + 0, 29)
- - Code(Expression(20, Sub)) at (prev + 0, 33) to (start + 0, 46)
-     = (c6 - c16)
- - Code(Expression(21, Sub)) at (prev + 0, 50) to (start + 0, 64)
-     = (c6 - (c16 + c17))
- - Code(Counter(6)) at (prev + 0, 65) to (start + 2, 14)
- - Code(Zero) at (prev + 2, 13) to (start + 0, 14)
+ - Code(Expression(30, Sub)) at (prev + 0, 33) to (start + 0, 46)
+     = (c6 - c17)
+ - Code(Expression(31, Sub)) at (prev + 0, 50) to (start + 0, 64)
+     = (c6 - (c17 + c18))
+ - Code(Expression(36, Add)) at (prev + 0, 65) to (start + 2, 14)
+     = ((c17 + c18) + c19)
+ - Code(Expression(35, Sub)) at (prev + 2, 13) to (start + 0, 14)
+     = (c6 - ((c17 + c18) + c19))
145 - Code(Counter(6)) at (prev + 1, 13) to (start + 0, 27)
- - Code(Expression(23, Sub)) at (prev + 2, 13) to (start + 0, 19)
+ - Code(Expression(38, Sub)) at (prev + 2, 13) to (start + 0, 19)
147     = ((c3 + c4) - (c5 + c6))
148 - Code(Zero) at (prev + 2, 5) to (start + 0, 6)
- - Code(Expression(50, Add)) at (prev + 2, 9) to (start + 0, 22)
+ - Code(Expression(70, Add)) at (prev + 2, 9) to (start + 0, 22)
150     = (c5 + c6)
- - Code(Expression(50, Add)) at (prev + 0, 25) to (start + 0, 26)
+ - Code(Expression(70, Add)) at (prev + 0, 25) to (start + 0, 26)
152     = (c5 + c6)
- - Code(Expression(50, Add)) at (prev + 1, 8) to (start + 0, 12)
+ - Code(Expression(70, Add)) at (prev + 1, 8) to (start + 0, 12)
154     = (c5 + c6)
- - Code(Expression(50, Add)) at (prev + 0, 13) to (start + 2, 6)
+ - Code(Expression(70, Add)) at (prev + 0, 13) to (start + 2, 6)
156     = (c5 + c6)
157 - Code(Zero) at (prev + 2, 5) to (start + 0, 6)
- - Code(Expression(65, Add)) at (prev + 2, 9) to (start + 0, 10)
+ - Code(Expression(85, Add)) at (prev + 2, 9) to (start + 0, 10)
159     = (c7 + c8)
- - Code(Expression(50, Add)) at (prev + 0, 16) to (start + 0, 29)
+ - Code(Expression(70, Add)) at (prev + 0, 16) to (start + 0, 29)
161     = (c5 + c6)
162 - Code(Counter(7)) at (prev + 0, 30) to (start + 2, 6)
- - Code(Expression(32, Sub)) at (prev + 2, 15) to (start + 0, 28)
+ - Code(Expression(47, Sub)) at (prev + 2, 15) to (start + 0, 28)
164     = ((c5 + c6) - c7)
165 - Code(Counter(8)) at (prev + 1, 12) to (start + 0, 25)
- - Code(Expression(34, Sub)) at (prev + 0, 29) to (start + 0, 42)
+ - Code(Expression(49, Sub)) at (prev + 0, 29) to (start + 0, 42)
167     = (c8 - c14)
- - Code(Expression(35, Sub)) at (prev + 0, 46) to (start + 0, 60)
+ - Code(Expression(50, Sub)) at (prev + 0, 46) to (start + 0, 60)
169     = (c8 - (c14 + c15))
- - Code(Counter(8)) at (prev + 0, 61) to (start + 2, 10)
- - Code(Zero) at (prev + 2, 9) to (start + 0, 10)
+ - Code(Expression(55, Add)) at (prev + 0, 61) to (start + 2, 10)
+     = ((c14 + c15) + c16)
+ - Code(Expression(54, Sub)) at (prev + 2, 9) to (start + 0, 10)
+     = (c8 - ((c14 + c15) + c16))
172 - Code(Counter(8)) at (prev + 1, 9) to (start + 0, 23)
- - Code(Expression(49, Sub)) at (prev + 2, 13) to (start + 0, 32)
+ - Code(Expression(69, Sub)) at (prev + 2, 13) to (start + 0, 32)
174     = ((c5 + c6) - (c7 + c8))
- - Code(Expression(49, Sub)) at (prev + 0, 35) to (start + 0, 44)
+ - Code(Expression(69, Sub)) at (prev + 0, 35) to (start + 0, 44)
176     = ((c5 + c6) - (c7 + c8))
- - Code(Expression(49, Sub)) at (prev + 1, 9) to (start + 0, 17)
+ - Code(Expression(69, Sub)) at (prev + 1, 9) to (start + 0, 17)
178     = ((c5 + c6) - (c7 + c8))
- - Code(Expression(49, Sub)) at (prev + 0, 18) to (start + 0, 27)
+ - Code(Expression(69, Sub)) at (prev + 0, 18) to (start + 0, 27)
180     = ((c5 + c6) - (c7 + c8))
- - Code(Expression(49, Sub)) at (prev + 1, 9) to (start + 0, 15)
+ - Code(Expression(69, Sub)) at (prev + 1, 9) to (start + 0, 15)
182     = ((c5 + c6) - (c7 + c8))
- - Code(Expression(66, Add)) at (prev + 3, 9) to (start + 0, 10)
+ - Code(Expression(86, Add)) at (prev + 3, 9) to (start + 0, 10)
184     = (c9 + c10)
- - Code(Expression(65, Add)) at (prev + 0, 16) to (start + 0, 29)
+ - Code(Expression(85, Add)) at (prev + 0, 16) to (start + 0, 29)
186     = (c7 + c8)
187 - Code(Counter(9)) at (prev + 0, 30) to (start + 2, 6)
- - Code(Expression(54, Sub)) at (prev + 2, 15) to (start + 0, 28)
+ - Code(Expression(74, Sub)) at (prev + 2, 15) to (start + 0, 28)
189     = ((c7 + c8) - c9)
190 - Code(Counter(10)) at (prev + 1, 12) to (start + 0, 25)
- - Code(Expression(56, Sub)) at (prev + 0, 29) to (start + 0, 42)
+ - Code(Expression(76, Sub)) at (prev + 0, 29) to (start + 0, 42)
192     = (c10 - c11)
- - Code(Expression(57, Sub)) at (prev + 0, 46) to (start + 0, 60)
+ - Code(Expression(77, Sub)) at (prev + 0, 46) to (start + 0, 60)
194     = (c10 - (c11 + c12))
- - Code(Expression(62, Add)) at (prev + 0, 61) to (start + 2, 10)
+ - Code(Expression(82, Add)) at (prev + 0, 61) to (start + 2, 10)
196     = ((c11 + c12) + c13)
- - Code(Expression(61, Sub)) at (prev + 2, 9) to (start + 0, 10)
+ - Code(Expression(81, Sub)) at (prev + 2, 9) to (start + 0, 10)
198     = (c10 - ((c11 + c12) + c13))
199 - Code(Counter(10)) at (prev + 1, 9) to (start + 0, 23)
- - Code(Expression(64, Sub)) at (prev + 2, 9) to (start + 0, 15)
+ - Code(Expression(84, Sub)) at (prev + 2, 9) to (start + 0, 15)
201     = ((c7 + c8) - (c9 + c10))
202 - Code(Counter(0)) at (prev + 2, 1) to (start + 0, 2)
203 Highest counter ID seen: c10


The actual cov-map differed from the expected cov-map

error: an error occurred comparing coverage output.
status: exit status: 0
command: "/checkout/obj/build/aarch64-unknown-linux-gnu/stage1-tools-bin/coverage-dump" "/checkout/obj/build/aarch64-unknown-linux-gnu/test/coverage/conditions.coverage-map/conditions.ll"
--- stdout -------------------------------
Function name: conditions::main
Raw bytes (656): 0x[01, 01, 57, 05, 09, 01, 05, 09, 5d, 09, 27, 5d, 61, 27, 65, 5d, 61, 09, 23, 27, 65, 5d, 61, 01, 03, 03, 0d, 11, 51, 11, 4f, 51, 55, 4f, 59, 51, 55, 11, 4b, 4f, 59, 51, 55, 03, 9f, 01, 0d, 11, 0d, 11, 0d, 11, 0d, 11, 0d, 11, 0d, 11, 0d, 11, 9f, 01, 15, 0d, 11, 19, 45, 19, 97, 01, 45, 49, 97, 01, 4d, 45, 49, 19, 93, 01, 97, 01, 4d, 45, 49, 9f, 01, 9b, 02, 0d, 11, 15, 19, 15, 19, 15, 19, 15, 19, 15, 19, 1d, 21, 15, 19, 9b, 02, 1d, 15, 19, 21, 39, 21, e3, 01, 39, 3d, e3, 01, 41, 39, 3d, 21, df, 01, e3, 01, 41, 39, 3d, 9b, 02, d7, 02, 15, 19, 1d, 21, 9b, 02, d7, 02, 15, 19, 1d, 21, 9b, 02, d7, 02, 15, 19, 1d, 21, 9b, 02, d7, 02, 15, 19, 1d, 21, 9b, 02, d7, 02, 15, 19, 1d, 21, 25, 29, 1d, 21, d7, 02, 25, 1d, 21, 29, 2d, 29, cf, 02, 2d, 31, cf, 02, 35, 2d, 31, 29, cb, 02, cf, 02, 35, 2d, 31, d7, 02, db, 02, 1d, 21, 25, 29, 53, 01, 03, 01, 00, 0a, 01, 01, 09, 00, 16, 01, 00, 19, 00, 1a, 01, 01, 08, 00, 0c, 01, 00, 0d, 02, 06, 00, 02, 05, 00, 06, 03, 03, 09, 00, 0a, 01, 00, 10, 00, 1d, 05, 01, 09, 00, 17, 05, 01, 09, 00, 0a, 06, 01, 0f, 00, 1c, 09, 01, 0c, 00, 19, 0a, 00, 1d, 00, 2a, 0e, 00, 2e, 00, 3c, 23, 00, 3d, 02, 0a, 1e, 02, 09, 00, 0a, 09, 01, 09, 00, 17, 09, 01, 09, 00, 12, 2a, 02, 09, 00, 0f, 03, 03, 09, 00, 16, 03, 00, 19, 00, 1a, 03, 01, 08, 00, 0c, 03, 00, 0d, 02, 06, 00, 02, 05, 00, 06, 03, 02, 08, 00, 15, 0d, 00, 16, 02, 06, 2e, 02, 0f, 00, 1c, 11, 01, 0c, 00, 19, 32, 00, 1d, 00, 2a, 36, 00, 2e, 00, 3c, 4b, 00, 3d, 02, 0a, 46, 02, 09, 00, 0a, 11, 01, 09, 00, 17, 52, 02, 09, 00, 0f, 9f, 01, 03, 08, 00, 0c, 9f, 01, 01, 0d, 00, 1a, 9f, 01, 00, 1d, 00, 1e, 9f, 01, 01, 0c, 00, 10, 9f, 01, 00, 11, 02, 0a, 00, 02, 09, 00, 0a, 9f, 01, 02, 0c, 00, 19, 15, 00, 1a, 02, 0a, 72, 04, 11, 00, 1e, 19, 01, 10, 00, 1d, 7a, 00, 21, 00, 2e, 7e, 00, 32, 00, 40, 93, 01, 00, 41, 02, 0e, 8e, 01, 02, 0d, 00, 0e, 19, 01, 0d, 00, 1b, 9a, 01, 02, 0d, 00, 13, 00, 02, 05, 00, 06, 9b, 02, 02, 09, 00, 16, 9b, 02, 00, 19, 00, 1a, 9b, 02, 01, 08, 00, 0c, 9b, 02, 00, 0d, 02, 06, 00, 02, 05, 00, 06, d7, 02, 02, 09, 00, 0a, 9b, 02, 00, 10, 00, 1d, 1d, 00, 1e, 02, 06, be, 01, 02, 0f, 00, 1c, 21, 01, 0c, 00, 19, c6, 01, 00, 1d, 00, 2a, ca, 01, 00, 2e, 00, 3c, df, 01, 00, 3d, 02, 0a, da, 01, 02, 09, 00, 0a, 21, 01, 09, 00, 17, 96, 02, 02, 0d, 00, 20, 96, 02, 00, 23, 00, 2c, 96, 02, 01, 09, 00, 11, 96, 02, 00, 12, 00, 1b, 96, 02, 01, 09, 00, 0f, db, 02, 03, 09, 00, 0a, d7, 02, 00, 10, 00, 1d, 25, 00, 1e, 02, 06, aa, 02, 02, 0f, 00, 1c, 29, 01, 0c, 00, 19, b2, 02, 00, 1d, 00, 2a, b6, 02, 00, 2e, 00, 3c, cb, 02, 00, 3d, 02, 0a, c6, 02, 02, 09, 00, 0a, 29, 01, 09, 00, 17, d2, 02, 02, 09, 00, 0f, 01, 02, 01, 00, 02]
Number of files: 1
- file 0 => /checkout/tests/coverage/conditions.rs
Number of expressions: 87
- expression 0 operands: lhs = Counter(1), rhs = Counter(2)
- expression 1 operands: lhs = Counter(0), rhs = Counter(1)
- expression 2 operands: lhs = Counter(2), rhs = Counter(23)
- expression 3 operands: lhs = Counter(2), rhs = Expression(9, Add)
- expression 4 operands: lhs = Counter(23), rhs = Counter(24)
- expression 5 operands: lhs = Expression(9, Add), rhs = Counter(25)
- expression 6 operands: lhs = Counter(23), rhs = Counter(24)
- expression 7 operands: lhs = Counter(2), rhs = Expression(8, Add)
- expression 8 operands: lhs = Expression(9, Add), rhs = Counter(25)
- expression 9 operands: lhs = Counter(23), rhs = Counter(24)
- expression 10 operands: lhs = Counter(0), rhs = Expression(0, Add)
- expression 11 operands: lhs = Expression(0, Add), rhs = Counter(3)
- expression 12 operands: lhs = Counter(4), rhs = Counter(20)
- expression 13 operands: lhs = Counter(4), rhs = Expression(19, Add)
- expression 14 operands: lhs = Counter(20), rhs = Counter(21)
- expression 15 operands: lhs = Expression(19, Add), rhs = Counter(22)
- expression 16 operands: lhs = Counter(20), rhs = Counter(21)
- expression 17 operands: lhs = Counter(4), rhs = Expression(18, Add)
- expression 18 operands: lhs = Expression(19, Add), rhs = Counter(22)
- expression 19 operands: lhs = Counter(20), rhs = Counter(21)
- expression 20 operands: lhs = Expression(0, Add), rhs = Expression(39, Add)
- expression 21 operands: lhs = Counter(3), rhs = Counter(4)
- expression 22 operands: lhs = Counter(3), rhs = Counter(4)
- expression 23 operands: lhs = Counter(3), rhs = Counter(4)
- expression 24 operands: lhs = Counter(3), rhs = Counter(4)
- expression 25 operands: lhs = Counter(3), rhs = Counter(4)
- expression 26 operands: lhs = Counter(3), rhs = Counter(4)
- expression 27 operands: lhs = Counter(3), rhs = Counter(4)
- expression 28 operands: lhs = Expression(39, Add), rhs = Counter(5)
- expression 29 operands: lhs = Counter(3), rhs = Counter(4)
- expression 30 operands: lhs = Counter(6), rhs = Counter(17)
- expression 31 operands: lhs = Counter(6), rhs = Expression(37, Add)
- expression 32 operands: lhs = Counter(17), rhs = Counter(18)
- expression 33 operands: lhs = Expression(37, Add), rhs = Counter(19)
- expression 34 operands: lhs = Counter(17), rhs = Counter(18)
- expression 35 operands: lhs = Counter(6), rhs = Expression(36, Add)
- expression 36 operands: lhs = Expression(37, Add), rhs = Counter(19)
- expression 37 operands: lhs = Counter(17), rhs = Counter(18)
- expression 38 operands: lhs = Expression(39, Add), rhs = Expression(70, Add)
- expression 39 operands: lhs = Counter(3), rhs = Counter(4)
- expression 40 operands: lhs = Counter(5), rhs = Counter(6)
- expression 41 operands: lhs = Counter(5), rhs = Counter(6)
- expression 42 operands: lhs = Counter(5), rhs = Counter(6)
- expression 43 operands: lhs = Counter(5), rhs = Counter(6)
- expression 44 operands: lhs = Counter(5), rhs = Counter(6)
- expression 45 operands: lhs = Counter(7), rhs = Counter(8)
- expression 46 operands: lhs = Counter(5), rhs = Counter(6)
- expression 47 operands: lhs = Expression(70, Add), rhs = Counter(7)
- expression 48 operands: lhs = Counter(5), rhs = Counter(6)
- expression 49 operands: lhs = Counter(8), rhs = Counter(14)
- expression 50 operands: lhs = Counter(8), rhs = Expression(56, Add)
- expression 51 operands: lhs = Counter(14), rhs = Counter(15)
- expression 52 operands: lhs = Expression(56, Add), rhs = Counter(16)
- expression 53 operands: lhs = Counter(14), rhs = Counter(15)
- expression 54 operands: lhs = Counter(8), rhs = Expression(55, Add)
- expression 55 operands: lhs = Expression(56, Add), rhs = Counter(16)
- expression 56 operands: lhs = Counter(14), rhs = Counter(15)
- expression 57 operands: lhs = Expression(70, Add), rhs = Expression(85, Add)
- expression 58 operands: lhs = Counter(5), rhs = Counter(6)
- expression 59 operands: lhs = Counter(7), rhs = Counter(8)
- expression 60 operands: lhs = Expression(70, Add), rhs = Expression(85, Add)
- expression 61 operands: lhs = Counter(5), rhs = Counter(6)
- expression 62 operands: lhs = Counter(7), rhs = Counter(8)
- expression 63 operands: lhs = Expression(70, Add), rhs = Expression(85, Add)
- expression 64 operands: lhs = Counter(5), rhs = Counter(6)
- expression 65 operands: lhs = Counter(7), rhs = Counter(8)
- expression 66 operands: lhs = Expression(70, Add), rhs = Expression(85, Add)
- expression 67 operands: lhs = Counter(5), rhs = Counter(6)
- expression 68 operands: lhs = Counter(7), rhs = Counter(8)
- expression 69 operands: lhs = Expression(70, Add), rhs = Expression(85, Add)
- expression 70 operands: lhs = Counter(5), rhs = Counter(6)
- expression 71 operands: lhs = Counter(7), rhs = Counter(8)
- expression 72 operands: lhs = Counter(9), rhs = Counter(10)
- expression 73 operands: lhs = Counter(7), rhs = Counter(8)
- expression 74 operands: lhs = Expression(85, Add), rhs = Counter(9)
- expression 75 operands: lhs = Counter(7), rhs = Counter(8)
- expression 76 operands: lhs = Counter(10), rhs = Counter(11)
- expression 77 operands: lhs = Counter(10), rhs = Expression(83, Add)
- expression 78 operands: lhs = Counter(11), rhs = Counter(12)
- expression 79 operands: lhs = Expression(83, Add), rhs = Counter(13)
- expression 80 operands: lhs = Counter(11), rhs = Counter(12)
- expression 81 operands: lhs = Counter(10), rhs = Expression(82, Add)
- expression 82 operands: lhs = Expression(83, Add), rhs = Counter(13)
- expression 83 operands: lhs = Counter(11), rhs = Counter(12)
- expression 84 operands: lhs = Expression(85, Add), rhs = Expression(86, Add)
- expression 85 operands: lhs = Counter(7), rhs = Counter(8)
- expression 86 operands: lhs = Counter(9), rhs = Counter(10)
Number of file 0 mappings: 83
- Code(Counter(0)) at (prev + 3, 1) to (start + 0, 10)
- Code(Counter(0)) at (prev + 1, 9) to (start + 0, 22)
- Code(Counter(0)) at (prev + 0, 25) to (start + 0, 26)
- Code(Counter(0)) at (prev + 1, 8) to (start + 0, 12)
- Code(Counter(0)) at (prev + 0, 13) to (start + 2, 6)
- Code(Zero) at (prev + 2, 5) to (start + 0, 6)
- Code(Expression(0, Add)) at (prev + 3, 9) to (start + 0, 10)
    = (c1 + c2)
- Code(Counter(0)) at (prev + 0, 16) to (start + 0, 29)
- Code(Counter(1)) at (prev + 1, 9) to (start + 0, 23)
- Code(Counter(1)) at (prev + 1, 9) to (start + 0, 10)
- Code(Expression(1, Sub)) at (prev + 1, 15) to (start + 0, 28)
    = (c0 - c1)
- Code(Counter(2)) at (prev + 1, 12) to (start + 0, 25)
- Code(Expression(2, Sub)) at (prev + 0, 29) to (start + 0, 42)
    = (c2 - c23)
- Code(Expression(3, Sub)) at (prev + 0, 46) to (start + 0, 60)
    = (c2 - (c23 + c24))
- Code(Expression(8, Add)) at (prev + 0, 61) to (start + 2, 10)
    = ((c23 + c24) + c25)
- Code(Expression(7, Sub)) at (prev + 2, 9) to (start + 0, 10)
    = (c2 - ((c23 + c24) + c25))
- Code(Counter(2)) at (prev + 1, 9) to (start + 0, 23)
- Code(Counter(2)) at (prev + 1, 9) to (start + 0, 18)
- Code(Expression(10, Sub)) at (prev + 2, 9) to (start + 0, 15)
    = (c0 - (c1 + c2))
- Code(Expression(0, Add)) at (prev + 3, 9) to (start + 0, 22)
    = (c1 + c2)
- Code(Expression(0, Add)) at (prev + 0, 25) to (start + 0, 26)
    = (c1 + c2)
- Code(Expression(0, Add)) at (prev + 1, 8) to (start + 0, 12)
    = (c1 + c2)
- Code(Expression(0, Add)) at (prev + 0, 13) to (start + 2, 6)
    = (c1 + c2)
- Code(Zero) at (prev + 2, 5) to (start + 0, 6)
- Code(Expression(0, Add)) at (prev + 2, 8) to (start + 0, 21)
    = (c1 + c2)
- Code(Counter(3)) at (prev + 0, 22) to (start + 2, 6)
- Code(Expression(11, Sub)) at (prev + 2, 15) to (start + 0, 28)
    = ((c1 + c2) - c3)
- Code(Counter(4)) at (prev + 1, 12) to (start + 0, 25)
- Code(Expression(12, Sub)) at (prev + 0, 29) to (start + 0, 42)
    = (c4 - c20)
- Code(Expression(13, Sub)) at (prev + 0, 46) to (start + 0, 60)
    = (c4 - (c20 + c21))
- Code(Expression(18, Add)) at (prev + 0, 61) to (start + 2, 10)
    = ((c20 + c21) + c22)
- Code(Expression(17, Sub)) at (prev + 2, 9) to (start + 0, 10)
    = (c4 - ((c20 + c21) + c22))
- Code(Counter(4)) at (prev + 1, 9) to (start + 0, 23)
- Code(Expression(20, Sub)) at (prev + 2, 9) to (start + 0, 15)
    = ((c1 + c2) - (c3 + c4))
- Code(Expression(39, Add)) at (prev + 3, 8) to (start + 0, 12)
    = (c3 + c4)
- Code(Expression(39, Add)) at (prev + 1, 13) to (start + 0, 26)
    = (c3 + c4)
- Code(Expression(39, Add)) at (prev + 0, 29) to (start + 0, 30)
    = (c3 + c4)
- Code(Expression(39, Add)) at (prev + 1, 12) to (start + 0, 16)
    = (c3 + c4)
- Code(Expression(39, Add)) at (prev + 0, 17) to (start + 2, 10)
    = (c3 + c4)
- Code(Zero) at (prev + 2, 9) to (start + 0, 10)
- Code(Expression(39, Add)) at (prev + 2, 12) to (start + 0, 25)
    = (c3 + c4)
- Code(Counter(5)) at (prev + 0, 26) to (start + 2, 10)
- Code(Expression(28, Sub)) at (prev + 4, 17) to (start + 0, 30)

@rust-bors
Copy link

rust-bors bot commented Aug 24, 2025

☀️ Try build successful (CI)
Build commit: 1e45fee (1e45fee2f5452acaa981b7784932fd35cce6349e, parent: c5a6a7bdd89f099544fa0d3fad4d833d238377ad)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (1e45fee): comparison URL.

Overall result: ❌✅ regressions and improvements - please read the text below

Benchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @rustbot label: +perf-regression-triaged. If not, please fix the regressions and do another perf run. If its results are neutral or positive, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
3.2% [0.5%, 12.8%] 17
Regressions ❌
(secondary)
3.4% [0.3%, 11.6%] 15
Improvements ✅
(primary)
-0.5% [-0.5%, -0.4%] 2
Improvements ✅
(secondary)
-0.5% [-1.1%, -0.2%] 14
All ❌✅ (primary) 2.8% [-0.5%, 12.8%] 19

Max RSS (memory usage)

Results (primary 58.2%, secondary 55.7%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
69.5% [1.8%, 288.2%] 11
Regressions ❌
(secondary)
55.7% [2.2%, 150.0%] 7
Improvements ✅
(primary)
-4.1% [-5.4%, -2.9%] 2
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 58.2% [-5.4%, 288.2%] 13

Cycles

Results (primary 5.4%, secondary 11.6%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
5.4% [2.1%, 12.7%] 7
Regressions ❌
(secondary)
11.6% [2.3%, 17.1%] 4
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 5.4% [2.1%, 12.7%] 7

Binary size

Results (primary -0.1%, secondary -1.0%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
0.3% [0.1%, 0.4%] 6
Regressions ❌
(secondary)
0.4% [0.1%, 1.0%] 4
Improvements ✅
(primary)
-0.1% [-1.1%, -0.0%] 34
Improvements ✅
(secondary)
-1.6% [-12.8%, -0.0%] 9
All ❌✅ (primary) -0.1% [-1.1%, 0.4%] 40

Bootstrap: 467.196s -> 479.382s (2.61%)
Artifact size: 378.17 MiB -> 378.25 MiB (0.02%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Aug 24, 2025
@bors
Copy link
Collaborator

bors commented Aug 27, 2025

☔ The latest upstream changes (presumably #145923) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-mir-opt-GVN Area: MIR opt Global Value Numbering (GVN) perf-regression Performance regression. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants