xref: /openbmc/qemu/scripts/coccinelle/remove_muldiv64.cocci (revision 40b9cd25f789e02145fda5e1f3fde7e7dd9e3b61)
1// replace muldiv64(a, 1, b) by "a / b"
2@@
3expression a, b;
4@@
5-muldiv64(a, 1, b)
6+a / b
7