diff options
Diffstat (limited to 'test/libyul/yulOptimizerTests/rematerialiser/large_constant.yul')
-rw-r--r-- | test/libyul/yulOptimizerTests/rematerialiser/large_constant.yul | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/libyul/yulOptimizerTests/rematerialiser/large_constant.yul b/test/libyul/yulOptimizerTests/rematerialiser/large_constant.yul new file mode 100644 index 00000000..9c7c66f1 --- /dev/null +++ b/test/libyul/yulOptimizerTests/rematerialiser/large_constant.yul @@ -0,0 +1,12 @@ +{ + // Constants cost depending on their magnitude. + // Do not rematerialize large constants. + let a := 0xffffffffffffffffffffff + mstore(a, a) +} +// ---- +// rematerialiser +// { +// let a := 0xffffffffffffffffffffff +// mstore(a, a) +// } |