solidity/test/libyul/yulOptimizerTests/commonSubexpressionEliminator/unassigned_variables.yul

16 lines
290 B
Plaintext
Raw Normal View History

{
// This does not replace b by a because there is no
// explicit assignment, even though both hold the same value.
let a
let b
mstore(sub(a, b), 7)
}
2019-04-01 14:33:46 +00:00
// ====
// step: commonSubexpressionEliminator
// ----
// {
// let a
// let b
// mstore(sub(a, b), 7)
// }