solidity/test/libyul/yulOptimizerTests/rematerialiser/large_constant.yul

14 lines
262 B
Plaintext
Raw Normal View History

{
// Constants cost depending on their magnitude.
// Do not rematerialize large constants.
let a := 0xffffffffffffffffffffff
mstore(a, a)
}
// ----
// step: rematerialiser
//
// {
// let a := 0xffffffffffffffffffffff
// mstore(a, a)
// }