<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJylUk1v2zAM_TX2hajhyHYaHXzoGhQIsKFDN2BnWaJtJYrk6qOd__1oB0mLXgcIkkiKj4_i65ya2xc9jBGse4d3hAEtehERBCSrXxNC0IMVMXlyWQVyFHbQdiAD3LQ81c5CdCCUWnzaRvS9kJixRzD6hHCwPfrf84TP0-FzUNLrFQ0hjp_LuH51dEkbhR46j-K0VMS_OsTlMs1xpKLSKSwIHh4z9o0W6AjHFOJCJaz83tAbJ1SRlfusfLjsf5ASk1EQ_bzwxjOlOYuE2mmrNptbGvTOAwo53grcItqGiF-As7okpzHCCym1QhuBXH2cbUDIVVspXnGRi0TkfXt0J_R3OI158qYdY5xCVj1k7InWoOOYukK6MxnGvF2Pu8m7I8pIpg4hYaBLwzhv8rHdlUI1oudcqqrnXY14X3PVbbfbZickl7kRHZrQZg11ws5Geyp3-Uiys2af_z8L3bKSsXJT1qwsm6ou6nLXV0oK3sh7osLoP_AstCkWnML5IfftCtmlIVDQ0IDDR1CERRSIK2liGHU02P74fniBnxcJLBMjRQR43v-6SpeGFsZ1wiQuZT6EdJ1euOhS34STr320axP_AMmbB58>52995</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
MLIR Python bindings ODS generator should handle builder overloads like in C++
</td>
</tr>
<tr>
<th>Labels</th>
<td>
mlir:python
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
joker-eph
</td>
</tr>
</table>
<pre>
Right now we generate a unique signature and changing an operation to add an interface, like InferTypeOpInterface, can change the signature of the builder breaking existing python code. In C++ it just adds an overload.
We could try to emit one pybind11 overload for each C++ overload instead.
@stellaraccident @ftynse
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdUstu2zAQ_BrpsoggUZJtHXRIYwQw0CJFWqBnPlYSbZpU-Ejqv-9Khp2gACFxZ7kzs0sKpy79qx6nCNZ9wAfCiBY9jwgcktVvCSHo0fKYPEFWgZy4HbUdKQA3L0e1sxAdcKUWTNuIfuASM_YERp8QDnZA__sy48t8-JqUdHplQ4jTVxk3rIBI2ij0IDzy06KIf3WIy2a-xIlEpVNYED08ZewbLdARjinExUpY_b2jN46rIiv3Wfl4_f5BKkxGQfSXxTeeqcxZJFahraqqexkMzgNyOd0F7hltQ8T_iLOmJNAY7rmUWqGNQNAQLzYg5KqvVVd3PI86Gux_fD-8ws9rH4sstRXgZf_rNn9SDtNqkyakzOc0bhbCdbj63n2evOmnGOeQ1Y8Ze6Y16jglUUh3psCY99vvYfbuiDJSqENIGGjTsq5r86nfbLdtV7FyxwdVdW2zaVC1uNtVTGwEtiI3XKAJfdaSKDsb7UnueiEUZ-0-1z0rGSursmFl2dZN0ZS7oVaSd63cis2G0VTwzLUpFi-F82Pu-9WWSGOgpKFrDp9JHpangbhKEj9PJOb7ozuhf8B5ytce-rWBf2Yt8Rc">