solidity/test/libyul/yulOptimizerTests/expressionSimplifier/identity_rules_negative.yul

12 lines
200 B
Plaintext
Raw Normal View History

2020-08-03 20:42:39 +00:00
{
let a := sub(calldataload(1), calldataload(0))
sstore(0, a)
}
2018-10-11 16:35:13 +00:00
// ----
// step: expressionSimplifier
//
2018-10-11 16:35:13 +00:00
// {
2020-08-03 20:42:39 +00:00
// let _1 := 0
// sstore(_1, sub(calldataload(1), calldataload(_1)))
2018-10-11 16:35:13 +00:00
// }