<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/120174>120174</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[param][optimized]loop optimization
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
zhaojiangkun-1
</td>
</tr>
</table>
<pre>
I want to test the `--param max-unroll-times` parameter, and it doesn't seem to work.
Does the command not take effect after the `O2` option is enabled? No related document is found. Please explain how this command takes effect.
test codeļ¼
https://godbolt.org/z/3Ec44vefc
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxcksFu2zAMhp-GvhAOZNmuk4MPaVMDu2x7BVmiY7WyGFh00_XpBxnZBuwkgBT_7xd_mZT8NRL10D5DeynMJjOv_dds-M2beH3fYlkVI7tf_Te8mygojEJJUGZCeFJleTOrWXAxn-UWVw6hFL9QgieFe4eEVtAvaKJDL-iYUgTdCSaiJavdeX0_gDqDOl-Y0i5seVnyQGRBMe-ENE1kBc0ktP5B_9AZwjfxHNEnpGjGQA7qAb8zrhSMkEPHdlsoSr4x8RbdAX8GMomQPm_B-Igz31Fmn_5SMzE9kA9noM77qy07gtcBnl_glIuzyC1BfQY9gB6u7EYOcuD1Cnr4Aj3Ur7ZpPmiyhetrd6pPpqC-6uqmUa06qmLuu5pMMxHZbnTWkSGqKm1aZ1Rn6-NRF77XSjeVrjpVV5VWB2NPo67q4_Q0akuTgkbRYnw4hPCxZHbhU9qor7SquqYIZqSQ9oC1jnTHvQta57zXPg-V43ZN0Kjgk6R_MuIl7D9jDxLaC7TPed2L_yIH7SUw3_BRMDmFYltD_99KvMzbeLC8gB6y8uMobyu_kRXQw-4ngR4ehj96_TsAAP__GwvYlg">