<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/69009>69009</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
-Oz not able to perform calculations at compile time
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
SewerDweller
</td>
</tr>
</table>
<pre>
-Oz is advertised to generate smaller executables than every other optimization flag (-Os, -O1, -Ofast)
however, in this example right here, -Oz is the only optimization level that doesn't compute the matrices at compile time:
https://godbolt.org/z/a4Evdn1qK
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkkc2um0AMhZ9m2FiJwJAfFixue8umiyz6BAYMTGUYOmPITZ6-GnKlqu1qJHuOz6dzKAQ7zMyVOX0xp_eEVh2dr37wnf37nUXYJ43rHtXh9gQbgLqNvdrAHaiDgWf2pAxhovgV-IPbVakRDqAjzcAb-wc4HdmDW9RO9klq3Qy90AAGr4dbMPgVDrfs9fQU1GBp0neTvo3uHg_EjZ1BRxuAP2hahMHbYVQY2fNLt9PpyOBmefxtJbyxRByFznGYDV4UWjctq_IumUi9bTkAveZWGNRObPK3F8cnjeoS4gxrg_XgusaJHp0fDNZPgzUV37Zuzn59T7oq78q8pISr7FxeMCuKU56MFV7Pl7woMO0J-5YaKvuMU7z2yOe8uJaJrTDFPEuzPDvjBa_Hrm2p6cpTXzJm-aU3RcoTWTmKbFP0TmwIK1fnMk3LRKhhCXuXiDPfYV8axFitr6Lm0KxDMEUqNmj4c0WtCu8lz04hFhj7Xdj3zk_QkrSr7Gn-F1Kyeqn-icbquDbH1k0G62jx-RwW735yqwbrHSwYrHfw3wEAAP__K1zVyw">