<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/117222>117222</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Documentation typo in DestinationStyleOpInterface
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
PerMildner
</td>
</tr>
</table>
<pre>
https://github.com/llvm/llvm-project/blob/505e049aa078c8961f00cacefc3983398a46fb04/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td#L86
Says
```
/// Return the number of DPS inits.
int64_t getNumDpsInputs() {
return $_op->getNumOperands() - $_op.getNumDpsInits();
}
```
but it should say `... DPS inputs.`
It looks like a copy-paste bug from [getNumDpsInits()](https://github.com/llvm/llvm-project/blob/505e049aa078c8961f00cacefc3983398a46fb04/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td#L72)).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzUU01r3DAQ_TXji1gjj_x58CHBNQTaJjQ_IMjy7K4aWTL6SNl_X3bXm_QQCj0WzJjRPD3eG_RkCPpgiXqo7qEaMpni0fn-ifw3bWZLPpvcfOqPMa4BxB3gCDgedDymKVduARyNebv9dqt3P0lFwHEybgIcK14RLzspedOqtquLPedKKtor0bVCdK0s6_3ES8BxMdoDjtoqk2b6OHiwkfxeKgqA40AhaiujdvY5ngw9ru_jPM6A4mtbAx-A313rszyFra_59l1adnUCOLIfFJO3LB6J2bRM5Jnbs-HpmWmrY8g3PGNM21iXL5EdKH5Py7CGB7umGABbwI5Bc79B_ZUQsHxx6w7El-uFx5W8tPMNv9sA-R90-sYG4kYGzfCpgSlFpiMLR5fMzII8Mah5nueb8rOw_B18rQ-RGedeAzP6lZhkyq2n3SpDJDalA9t7tzCo7j_VUw2A7f_zCho8i8Yuz-ZezJ3oZEZ90QjEohVVkx37qpXNVAoiUWEjONHUFVKVTVkUUlWCMt0jx7IosCi6sqqafBaqbOqWhFJVMYkOSk6L1CY_m86dP2Q6hER9UTSImBk5kQmXXCFa-sUuU0A8x8z3l01N6RCg5EaHGD5ooo6G-sGptJCNF5ssnlbHtGV_sZ4lb_49qBdV56Vust96_B0AAP__84ND1Q">