<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/84631>84631</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            mlirDataFormatters.py doesn't print the value of mlir::Operation::result_range correctly
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            mlir
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          onlytheworld
      </td>
    </tr>
</table>

<pre>
    When I try to get the return value of the operation `op` (`op` has more than one return value), I find that `mlir/utils/lldb-scripts/mlirDataFormatters.py` doesn't print the values of `mlir::Operation::result_range` correctly. If I assign it to `llvm::SmallVector`, I can see that the values are actually correct.

![image](https://github.com/llvm/llvm-project/assets/37205103/52afa83b-cef1-4f78-8352-5db2b24000ce)


![image](https://github.com/llvm/llvm-project/assets/37205103/93c4eaf2-a862-4403-9a13-e74f645b6525)

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0kz-PnDAQxT-NaSxWZoz5U1DcZYW0VYpISRkZGMCRwcgeLtpvHxmydxcpkZIiDWDAb35v5lmHYKYVsWHqmalroneanW_cau8043fn7ZB0brg3X2Zc-Y2Tv3NyfELiNCP3SLtf-Yu2O3I3Hu_chl6TcStnhXAbKwRnUL0-zzrwxXnkNOuVu_VXEQY1gw_8xkezDvEXiiqLNZ5Bu5OxgUFr7dClofdmo7iMX6-adOv8oonQh8t2j6UGh2FlUBLfvFlP4qNKiKwPXfnE5NPHB_S59Bh2S1-9XieMSr3zHnuy9wu_jfzGz7ZxQ7EZrBDWviznzk-LtvYz9uQ8K8TppdcrD4innXcQ2iPXPe3a2vujxIWJKxNPP6-QMfVsFj0hU1cG1Uy0hVgIWgbtZGjeu0vvlqMpL49bunn3DXti0OoQ8GiSLEGoTEgGrQI96kp2aY9jluZjWaWVVJCqoYMOciFEf8zhPch_xKlln6MeIdVVAWmeC5nWOpMplvlY5KorFKhXnGRo5FDLWifYZKWo61oJKZO56VReqxJkXWdjKccKVFWpTo9lX5WdUlViGhCQCynqLJdlJi8CUGSQZUUFY5-NA8sFLtrYS2S-OD8lJoQdmyovZJZY3aENxzEBOPMI8cD45rDY7VNgubAmUHgTIEMWm9_m88_hjNn8q2C-pTLZvW3-eRiHvTiMw-GPAAAA__-4OkYo">