mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-22 03:36:19 +00:00
Fix optimization specific SREM edge case (#527)
Existing test coverage didn't catch a signed remainder overflow semantics edge case behavior where at least one the operators is being constant folded by LLVM instead of solc. This PR fixes the SREM translation bug and adds missing test coverage for division ops with constants. Closes #524 --------- Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
1 parent
62a62770e3
commit
40e97d11eb
23 files changed
+1336
-21
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"Baseline": 870,
|
||||
"Computation": 2418,
|
||||
"DivisionArithmetics": 9274,
|
||||
"DivisionArithmetics": 9368,
|
||||
"ERC20": 17090,
|
||||
"Events": 1662,
|
||||
"FibonacciIterative": 1427,
|
||||
|
||||
Reference in new issue
Block a user