|
1 | | -; RUN: llc -O3 --debug-only=evm-constant-unfolding -evm-bytecode-sizelimit=80 < %s 2>&1 | FileCheck %s |
| 1 | +; RUN: llc -O3 --debug-only=evm-constant-unfolding -evm-metadata-size=16 -evm-bytecode-sizelimit=96 < %s 2>&1 | FileCheck %s |
2 | 2 | ; REQUIRES: asserts |
3 | 3 | target datalayout = "E-p:256:256-i256:256:256-S256-a:256:256" |
4 | 4 | target triple = "evm" |
5 | 5 |
|
6 | 6 | ; CHECK: *** Running constant unfolding in the default mode *** |
7 | | -; CHECK-NEXT: *** Initial module size: 136 *** |
| 7 | +; CHECK-NEXT: *** Initial module size: 152 *** |
8 | 8 | ; CHECK: Checking PUSH32_S i256 35408467139433450592217433187231851964531694900788300625387963629091585785856 |
9 | 9 | ; CHECK: Checking PUSH27_S i256 52656145834278593348959013841835216134069776894924259991723442175 |
10 | 10 | ; CHECK: Skipping identity transformation |
11 | 11 | ; CHECK: Checking PUSH27_S i256 52656145834278593348959013841835216132831836855638879716824317951 |
12 | 12 | ; CHECK: Skipping identity transformation |
13 | 13 |
|
14 | | -; CHECK: *** Current module size is 111, which still exceeds the limit, falling back to size-minimization mode *** |
| 14 | +; CHECK: *** Current module size is 127, which still exceeds the limit, falling back to size-minimization mode *** |
15 | 15 | ; CHECK-NEXT: *** Running constant unfolding in size-minimization mode at loop depth 0 *** |
16 | 16 |
|
17 | | -; CHECK: *** Current module size is 111 *** |
| 17 | +; CHECK: *** Current module size is 127 *** |
18 | 18 | ; CHECK-NEXT: *** Running constant unfolding in size-minimization mode at loop depth 1 *** |
19 | 19 | ; CHECK: Checking PUSH27_S i256 52656145834278593348959013841835216134069776894924259991723442175 |
20 | 20 |
|
21 | | -; CHECK: *** Current module size is 103 *** |
| 21 | +; CHECK: *** Current module size is 119 *** |
22 | 22 | ; CHECK-NEXT: *** Running constant unfolding in size-minimization mode at loop depth 2 *** |
23 | 23 | ; CHECK: Checking PUSH27_S i256 52656145834278593348959013841835216132831836855638879716824317951 |
24 | 24 |
|
25 | | -; CHECK: *** Current module size is 95 *** |
| 25 | +; CHECK: *** Current module size is 111 *** |
26 | 26 |
|
27 | 27 | define i256 @test(i256 %p) { |
28 | 28 |
|
|
0 commit comments