Skip to content

Conversation

PavelKopyl
Copy link
Contributor

Code Review Checklist

Purpose

Ticket Number

Requirements

  • Have the requirements been met?
  • Have stakeholder(s) approved the change?

Implementation

  • Does this code change accomplish what it is supposed to do?
  • Can this solution be simplified?
  • Does this change add unwanted compile-time or run-time dependencies?
  • Could an additional framework, API, library, or service improve the solution?
  • Could we reuse part of LLVM instead of implementing the patch or a part of it?
  • Is the code at the right abstraction level?
  • Is the code modular enough?
  • Can a better solution be found in terms of maintainability, readability, performance, or security?
  • Does similar functionality already exist in the codebase? If yes, why isn’t it reused?
  • Are there any best practices, design patterns or language-specific patterns that could substantially improve this code?

Logic Errors and Bugs

  • Can you think of any use case in which the
    code does not behave as intended?
  • Can you think of any inputs or external events
    that could break the code?

Error Handling and Logging

  • Is error handling done the correct way?
  • Should any logging or debugging information
    be added or removed?
  • Are error messages user-friendly?
  • Are there enough log events and are they
    written in a way that allows for easy
    debugging?

Maintainability

  • Is the code easy to read?
  • Is the code not repeated (DRY Principle)?
  • Is the code method/class not too long?

Dependencies

  • Were updates to documentation, configuration, or readme files made as required by this change?
  • Are there any potential impacts on other parts of the system or backward compatibility?

Security

  • Does the code introduce any security vulnerabilities?

Performance

  • Do you think this code change decreases
    system performance?
  • Do you see any potential to improve the
    performance of the code significantly?

Testing and Testability

  • Is the code testable?
  • Have automated tests been added, or have related ones been updated to cover the change?
    • For changes to mutable state
  • Do tests reasonably cover the code change (unit/integration/system tests)?
    • Line Coverage
    • Region Coverage
    • Branch Coverage
  • Are there some test cases, input or edge cases
    that should be tested in addition?

Readability

  • Is the code easy to understand?
  • Which parts were confusing to you and why?
  • Can the readability of the code be improved by
    smaller methods?
  • Can the readability of the code be improved by
    different function, method or variable names?
  • Is the code located in the right
    file/folder/package?
  • Do you think certain methods should be
    restructured to have a more intuitive control
    flow?
  • Is the data flow understandable?
  • Are there redundant or outdated comments?
  • Could some comments convey the message
    better?
  • Would more comments make the code more
    understandable?
  • Could some comments be removed by making the code itself more readable?
  • Is there any commented-out code?
  • Have you run a spelling and grammar checker?

Documentation

  • Is there sufficient documentation?
  • Is the ReadMe.md file up to date?

Best Practices

  • Follow Single Responsibility principle?
  • Are different errors handled correctly?
  • Are errors and warnings logged?
  • Magic values avoided?
  • No unnecessary comments?
  • Minimal nesting used?

Experts' Opinion

  • Do you think a specific expert, like a security
    expert or a usability expert, should look over
    the code before it can be accepted?
  • Will this code change impact different teams, and should they review the change as well?

@PavelKopyl PavelKopyl marked this pull request as draft September 18, 2025 10:39
Copy link

github-actions bot commented Sep 18, 2025

Results for: evm ir-llvm EVMInterpreter
╔═╡ Size (-%) ╞═══════════════════════╡ All E +M3B3 ╞═╗
║ Best                                         21.638 ║
║ Worst                                        -2.314 ║
║ Total                                         0.072 ║
╠═╡ Cycles (-%) ╞═════════════════════╡ All E +M3B3 ╞═╣
║ Best                                         20.472 ║
║ Worst                                        -2.699 ║
║ Total                                         0.005 ║
╠═╡ Ergs (-%) ╞═══════════════════════╡ All E +M3B3 ╞═╣
║ Best                                          8.190 ║
║ Worst                                        -2.077 ║
║ Total                                         0.006 ║
╠══╡ Gas (-%) ╞═══════════════════════╡ All E +M3B3 ╞═╣
║ Best                                         22.649 ║
║ Worst                                        -3.328 ║
║ Total                                         0.000 ║
╚═════════════════════════════════════════════════════╝

╔═╡ Size (-%) ╞═══════════════════════╡ All E +MzB3 ╞═╗
║ Best                                         20.767 ║
║ Worst                                        -2.572 ║
║ Total                                         0.073 ║
╠═╡ Cycles (-%) ╞═════════════════════╡ All E +MzB3 ╞═╣
║ Best                                         20.721 ║
║ Worst                                        -1.871 ║
║ Total                                         0.005 ║
╠═╡ Ergs (-%) ╞═══════════════════════╡ All E +MzB3 ╞═╣
║ Best                                          5.644 ║
║ Worst                                        -2.139 ║
║ Total                                         0.006 ║
╠══╡ Gas (-%) ╞═══════════════════════╡ All E +MzB3 ╞═╣
║ Best                                         21.768 ║
║ Worst                                        -2.629 ║
║ Total                                         0.000 ║
╚═════════════════════════════════════════════════════╝

╔═╡ Size (-%) ╞═══════════════════════╡ All Y +M3B3 ╞═╗
║ Best                                         20.088 ║
║ Worst                                       -17.011 ║
║ Total                                         1.262 ║
╠═╡ Cycles (-%) ╞═════════════════════╡ All Y +M3B3 ╞═╣
║ Best                                         22.500 ║
║ Worst                                        -3.678 ║
║ Total                                         0.043 ║
╠═╡ Ergs (-%) ╞═══════════════════════╡ All Y +M3B3 ╞═╣
║ Best                                          5.660 ║
║ Worst                                        -5.403 ║
║ Total                                         0.036 ║
╠══╡ Gas (-%) ╞═══════════════════════╡ All Y +M3B3 ╞═╣
║ Best                                         20.030 ║
║ Worst                                       -18.746 ║
║ Total                                         0.000 ║
╚═════════════════════════════════════════════════════╝

╔═╡ Size (-%) ╞═══════════════════════╡ All Y +MzB3 ╞═╗
║ Best                                         14.095 ║
║ Worst                                        -2.395 ║
║ Total                                         1.323 ║
╠═╡ Cycles (-%) ╞═════════════════════╡ All Y +MzB3 ╞═╣
║ Best                                         12.171 ║
║ Worst                                        -2.584 ║
║ Total                                         0.040 ║
╠═╡ Ergs (-%) ╞═══════════════════════╡ All Y +MzB3 ╞═╣
║ Best                                          3.138 ║
║ Worst                                        -0.494 ║
║ Total                                         0.034 ║
╠══╡ Gas (-%) ╞═══════════════════════╡ All Y +MzB3 ╞═╣
║ Best                                         13.793 ║
║ Worst                                        -1.163 ║
║ Total                                         0.000 ║
╚═════════════════════════════════════════════════════╝

╔═╡ Size (-%) ╞═════════════════╡ Real life E +M3B3 ╞═╗
║ Best                                          0.077 ║
║ Worst                                         0.000 ║
║ Total                                         0.018 ║
╠═╡ Cycles (-%) ╞═══════════════╡ Real life E +M3B3 ╞═╣
║ Best                                          0.058 ║
║ Worst                                         0.000 ║
║ Total                                         0.006 ║
╠═╡ Ergs (-%) ╞═════════════════╡ Real life E +M3B3 ╞═╣
║ Best                                          0.012 ║
║ Worst                                         0.000 ║
║ Total                                         0.003 ║
╠══╡ Gas (-%) ╞═════════════════╡ Real life E +M3B3 ╞═╣
║ Best                                          0.083 ║
║ Worst                                         0.000 ║
║ Total                                         0.024 ║
╚═════════════════════════════════════════════════════╝

╔═╡ Size (-%) ╞═════════════════╡ Real life E +MzB3 ╞═╗
║ Best                                          0.000 ║
║ Worst                                        -0.009 ║
║ Total                                        -0.002 ║
╠═╡ Cycles (-%) ╞═══════════════╡ Real life E +MzB3 ╞═╣
║ Best                                          0.058 ║
║ Worst                                         0.000 ║
║ Total                                         0.006 ║
╠═╡ Ergs (-%) ╞═════════════════╡ Real life E +MzB3 ╞═╣
║ Best                                          0.012 ║
║ Worst                                         0.000 ║
║ Total                                         0.003 ║
╠══╡ Gas (-%) ╞═════════════════╡ Real life E +MzB3 ╞═╣
║ Best                                          0.000 ║
║ Worst                                        -0.010 ║
║ Total                                        -0.003 ║
╚═════════════════════════════════════════════════════╝

╔═╡ Size (-%) ╞═════════════════╡ Real life Y +M3B3 ╞═╗
║ Best                                          4.167 ║
║ Worst                                        -0.144 ║
║ Total                                         0.236 ║
╠═╡ Cycles (-%) ╞═══════════════╡ Real life Y +M3B3 ╞═╣
║ Best                                          2.526 ║
║ Worst                                        -0.334 ║
║ Total                                         0.228 ║
╠═╡ Ergs (-%) ╞═════════════════╡ Real life Y +M3B3 ╞═╣
║ Best                                          0.359 ║
║ Worst                                        -0.374 ║
║ Total                                         0.019 ║
╠══╡ Gas (-%) ╞═════════════════╡ Real life Y +M3B3 ╞═╣
║ Best                                          0.255 ║
║ Worst                                        -0.055 ║
║ Total                                         0.019 ║
╚═════════════════════════════════════════════════════╝

╔═╡ Size (-%) ╞═════════════════╡ Real life Y +MzB3 ╞═╗
║ Best                                          4.167 ║
║ Worst                                        -0.019 ║
║ Total                                         0.094 ║
╠═╡ Cycles (-%) ╞═══════════════╡ Real life Y +MzB3 ╞═╣
║ Best                                          2.526 ║
║ Worst                                         0.000 ║
║ Total                                         0.110 ║
╠═╡ Ergs (-%) ╞═════════════════╡ Real life Y +MzB3 ╞═╣
║ Best                                          0.359 ║
║ Worst                                         0.000 ║
║ Total                                         0.033 ║
╠══╡ Gas (-%) ╞═════════════════╡ Real life Y +MzB3 ╞═╣
║ Best                                          0.051 ║
║ Worst                                         0.000 ║
║ Total                                         0.001 ║
╚═════════════════════════════════════════════════════╝

Copy link

codecov bot commented Sep 18, 2025

Codecov Report

❌ Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 30.92%. Comparing base (9561c2a) to head (6ede725).

Files with missing lines Patch % Lines
llvm/lib/Analysis/VMAliasAnalysis.cpp 84.61% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #900   +/-   ##
=======================================
  Coverage   30.91%   30.92%           
=======================================
  Files        2430     2430           
  Lines      806272   806284   +12     
  Branches   176487   176492    +5     
=======================================
+ Hits       249280   249364   +84     
+ Misses     513104   513008   -96     
- Partials    43888    43912   +24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

github-actions bot commented Sep 18, 2025

📊 Excel Report Available

Benchmarks measured for:

  • solx candidate version: solx, LLVM-based Solidity compiler for the EVM v0.1.3, LLVM revision: v1.0.2, LLVM build: 6ede7252c5106fa2656b6c38d017c4c9901ea5ef
  • solx ToT version: solx, LLVM-based Solidity compiler for the EVM v0.1.3, LLVM revision: v1.0.2, LLVM build: 9561c2a44f78af893fae5dec31d01336f5cc5532
  • solx latest release version: solx, LLVM-based Solidity compiler for the EVM v0.1.2, LLVM revision: v1.0.2, LLVM build: aec023355f43d8ece02249360ba84e749fb5cb3f
  • solc version: 0.8.30

➡️ Download Excel Report

@PavelKopyl PavelKopyl force-pushed the kpv-aa-support-non-precise-memloc branch 4 times, most recently from a8a2610 to c00e1e6 Compare September 22, 2025 14:24
@PavelKopyl PavelKopyl force-pushed the kpv-aa-support-non-precise-memloc branch from c00e1e6 to 6ede725 Compare October 2, 2025 00:22
Copy link

github-actions bot commented Oct 2, 2025

📊 evm compiler-tester excel report

Benchmarks measured for:

  • target machine: evm
  • toolchain: ir-llvm
  • environment: EVMInterpreter

➡️ Download Excel Report

Copy link

github-actions bot commented Oct 2, 2025

Project Mode Compiled (solc / solx / Total) Passed (solc / solx / Total)
openzeppelin default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 382 / 382 / 382 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 316 / 316 / 318
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 382 / 382 / 382 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 316 / 316 / 318
lil-web3 default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 20 / 20 / 20 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 68 / 68 / 68
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 20 / 20 / 20 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 66 / 68 / 68
maple-erc20 default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 28 / 28 / 28 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 29 / 29 / 29
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 28 / 28 / 28 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 29 / 29 / 29
diamonds default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 17 / 17 / 17 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 1 / 1 / 1
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 17 / 17 / 17 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 1 / 1 / 1
rollcall default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 64 / 64 / 64 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 14 / 14 / 14
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 64 / 64 / 64 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 14 / 14 / 14
playpen default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 43 / 43 / 43 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 6 / 6 / 9
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 43 / 43 / 43 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 6 / 6 / 9
solmate default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 60 / 60 / 60 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 55 / 55 / 69
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 60 / 60 / 60 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 55 / 55 / 69
prb-math default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 106 / 106 / 106 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 323 / 323 / 323
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 106 / 106 / 106 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 323 / 323 / 323
solady default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 208 / 208 / 208 🟥🟥🟥🟥🟥🟥🟥🟥🟥⬜ 1571 / 1555 / 1571
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 208 / 208 / 208 🟥🟥🟥🟥🟥🟥🟥🟥🟥⬜ 1571 / 1553 / 1571
unix default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 21 / 21 / 21 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 2 / 2 / 3
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 21 / 21 / 21 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 0 / 2 / 0
foundry-upgrades default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 22 / 22 / 22 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 3 / 3 / 3
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 22 / 22 / 22 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 3 / 3 / 3
art-gobblers default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 56 / 56 / 56 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 127 / 127 / 127
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 56 / 56 / 56 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 121 / 121 / 127
lens-core default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 320 / 320 / 320 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 0 / 1876 / 0
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 320 / 320 / 320 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 0 / 1877 / 0
balance-snapshot default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 20 / 20 / 20 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 5 / 5 / 5
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 20 / 20 / 20 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 5 / 5 / 5
diamond-foundry default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 26 / 26 / 26 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 40 / 40 / 44
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 26 / 26 / 26 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 40 / 40 / 44
forge-std default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 50 / 50 / 50 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 186 / 186 / 194
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 50 / 50 / 50 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 186 / 186 / 194
tokenlon default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 121 / 121 / 121 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 53 / 53 / 67
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 121 / 121 / 121 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 53 / 53 / 67
uniswap-v4 default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 160 / 160 / 160 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 598 / 598 / 598
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 160 / 160 / 160 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 598 / 598 / 598
beefy default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 164 / 164 / 164 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 2 / 2 / 34
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 164 / 164 / 164 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 2 / 2 / 34
gov-of-venice default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 25 / 25 / 25 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 25 / 25 / 26
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 25 / 25 / 25 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 24 / 25 / 26
cicada default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 23 / 23 / 23 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 0 / 546 / 0
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 23 / 23 / 23 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 0 / 546 / 0
lens-v3 default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 240 / 240 / 240 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 662 / 662 / 663
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 240 / 240 / 240 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 0 / 662 / 0
morpho-blue default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 74 / 74 / 74 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 145 / 145 / 145
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 74 / 74 / 74 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 145 / 145 / 145
aave-v3 default 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 473 / 473 / 473 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 980 / 980 / 980
viaIR 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 473 / 473 / 473 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 979 / 980 / 980

Copy link

github-actions bot commented Oct 2, 2025

Project Mode Compile (solx/solc/Δs/Δ%) Run (solx/solc/Δs/Δ%) Size warnings (solx/solc)
openzeppelin default 13.77s / 18.14s / -4.37s / -24% 📉 2.62s / 2.99s / -0.37s / -12% 📉 2 / 3
viaIR 15.18s / 57.80s / -42.62s / -74% 📉 2.61s / 3.34s / -0.73s / -22% 📉 2 / 3
lil-web3 default 2.62s / 2.35s / +0.26s / +11% 📈 0.15s / 0.14s / +0.01s / +6% 📈 0 / 0
viaIR 2.19s / 10.14s / -7.95s / -78% 📉 0.16s / 0.14s / +0.01s / +8% 📈 1 / 1
maple-erc20 default 2.15s / 1.80s / +0.35s / +20% 📈 0.19s / 0.20s / -0.00s / -2% ➖ 0 / 0
viaIR 1.80s / 4.84s / -3.03s / -63% 📉 0.19s / 0.19s / -0.00s / -2% ➖ 0 / 0
diamonds default 1.97s / 1.01s / +0.96s / +95% 📈 0.50s / 0.49s / +0.01s / +2% ➖ 0 / 0
viaIR 1.62s / 2.60s / -0.99s / -38% 📉 0.50s / 0.49s / +0.01s / +3% ➖ 0 / 0
rollcall default 2.75s / 2.78s / -0.03s / -1% ➖ 0.17s / 0.17s / -0.00s / -2% ➖ 0 / 2
viaIR 2.40s / 10.23s / -7.83s / -77% 📉 0.17s / 0.17s / -0.00s / -1% ➖ 1 / 2
playpen default 2.58s / 1.90s / +0.68s / +36% 📈 0.18s / 0.18s / +0.00s / +1% ➖ 0 / 6
viaIR 2.18s / 7.19s / -5.01s / -70% 📉 0.18s / 0.18s / +0.00s / +1% ➖ 0 / 6
solmate default 8.47s / 5.66s / +2.81s / +50% 📈 0.14s / 0.14s / +0.00s / +4% ➖ 2 / 7
viaIR 5.08s / 30.45s / -25.37s / -83% 📉 0.14s / 0.14s / +0.00s / +0% ➖ 4 / 9
prb-math default 6.25s / 6.57s / -0.32s / -5% ➖ 0.20s / 0.21s / -0.00s / -1% ➖ 0 / 0
viaIR 7.61s / 29.55s / -21.94s / -74% 📉 0.21s / 0.20s / +0.00s / +2% ➖ 0 / 0
solady default 21.43s / 26.18s / -4.76s / -18% 📉 0.71s / 0.71s / -0.00s / -0% ➖ 19 / 21
viaIR 20.06s / 149.60s / -129.54s / -87% 📉 0.72s / 0.74s / -0.02s / -2% ➖ 25 / 22
unix default 2.49s / 1.57s / +0.92s / +58% 📈 0.19s / 0.18s / +0.01s / +6% 📈 0 / 1
viaIR 1.96s / 4.12s / -2.16s / -52% 📉 0.18s / 0.57s / -0.39s / -69% 📉 0 / 0
foundry-upgrades default 1.28s / 0.99s / +0.30s / +30% 📈 0.17s / 0.16s / +0.01s / +8% 📈 0 / 0
viaIR 1.04s / 2.65s / -1.60s / -61% 📉 0.17s / 0.16s / +0.01s / +4% ➖ 0 / 0
art-gobblers default 8.32s / 5.04s / +3.28s / +65% 📈 0.61s / 0.70s / -0.09s / -13% 📉 1 / 19
viaIR 6.48s / 27.79s / -21.30s / -77% 📉 0.62s / 0.71s / -0.09s / -12% 📉 1 / 22
lens-core default 106.95s / 11.20s / +95.75s / +855% 📈 3.89s / 14.09s / -10.21s / -72% 📉 85 / 0
viaIR 70.70s / 502.39s / -431.69s / -86% 📉 3.79s / 484.56s / -480.77s / -99% 📉 83 / 0
balance-snapshot default 2.07s / 0.89s / +1.17s / +132% 📈 0.13s / 0.13s / +0.01s / +6% 📈 0 / 0
viaIR 1.72s / 2.75s / -1.02s / -37% 📉 0.13s / 0.12s / +0.01s / +7% 📈 0 / 0
diamond-foundry default 3.13s / 2.29s / +0.85s / +37% 📈 0.20s / 0.14s / +0.06s / +44% 📈 0 / 1
viaIR 1.88s / 6.47s / -4.59s / -71% 📉 0.15s / 0.14s / +0.01s / +8% 📈 0 / 0
forge-std default 10.39s / 7.96s / +2.43s / +31% 📈 0.97s / 0.45s / +0.53s / +117% 📈 7 / 7
viaIR 7.14s / 37.44s / -30.30s / -81% 📉 0.43s / 2.42s / -1.99s / -82% 📉 8 / 8
tokenlon default 21.03s / 20.97s / +0.06s / +0% ➖ 0.33s / 0.37s / -0.04s / -11% 📉 10 / 26
viaIR 12.37s / 105.50s / -93.13s / -88% 📉 0.32s / 0.33s / -0.01s / -2% ➖ 12 / 28
uniswap-v4 default 23.28s / 18.89s / +4.38s / +23% 📈 2.93s / 2.76s / +0.17s / +6% 📈 4 / 33
viaIR 16.73s / 109.66s / -92.94s / -85% 📉 2.75s / 2.79s / -0.04s / -2% ➖ 7 / 35
beefy default 18.46s / 21.40s / -2.94s / -14% 📉 0.67s / 0.66s / +0.01s / +2% ➖ 14 / 27
viaIR 15.16s / 108.89s / -93.73s / -86% 📉 0.67s / 0.65s / +0.02s / +3% ➖ 16 / 26
gov-of-venice default 5.86s / 3.79s / +2.07s / +55% 📈 0.50s / 0.62s / -0.13s / -21% 📉 2 / 10
viaIR 3.90s / 26.66s / -22.75s / -85% 📉 0.53s / 0.56s / -0.03s / -5% ➖ 2 / 10
lens-v3 default 79.21s / 54.73s / +24.48s / +45% 📈 0.64s / 0.67s / -0.03s / -4% ➖ 32 / 60
viaIR 48.23s / 10.73s / +37.50s / +350% 📈 0.64s / 14.19s / -13.55s / -95% 📉 33 / 0
morpho-blue default 9.85s / 12.24s / -2.40s / -20% 📉 0.23s / 0.25s / -0.01s / -5% ➖ 6 / 34
viaIR 8.09s / 75.18s / -67.09s / -89% 📉 0.25s / 0.25s / +0.00s / +2% ➖ 9 / 33
aave-v3 default 213.74s / 113.44s / +100.30s / +88% 📈 1.62s / 1.75s / -0.13s / -8% 📉 82 / 164
viaIR 122.81s / 914.42s / -791.61s / -87% 📉 1.66s / 1.67s / -0.01s / -0% ➖ 84 / 164

@PavelKopyl PavelKopyl self-assigned this Oct 2, 2025
@PavelKopyl PavelKopyl marked this pull request as ready for review October 2, 2025 15:08

// If one of the locations is imprecise, they don’t alias as long as
// the other location is precise and ends before the first one begins.
if (LocB.Size == LocationSize::afterPointer()) {
Copy link
Collaborator

@akiramenai akiramenai Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maintainability: I suggest to refactor that code (including DoesOverlap lambda). We have code duplication right below this if, and returning NoAlias, PartialAlias based on a predicate is also become a duplicate.

call void @llvm.evm.extcodecopy(i256 0, ptr addrspace(1) null, ptr addrspace(4) null, i256 32)
ret void
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants