<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/87188>87188</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[BOLT] [MC] AArch64 MCInst printing issue
</td>
</tr>
<tr>
<th>Labels</th>
<td>
BOLT
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
YuanSha0
</td>
</tr>
</table>
<pre>
Hi!
In BOLT, while working on some optimizations, I am attempting to directly modify instructions using the MCInst class to alter the stack access offset. However, when I print out the Operand information, I find that the results do not match my expectations.
![image](https://github.com/llvm/llvm-project/assets/81171521/ff0386ac-1cc0-469e-b0dc-311e1ef3600f)
printing result:
![image](https://github.com/llvm/llvm-project/assets/81171521/2cd6e160-1a2c-4c82-b1b0-6a7329c5d7ab)
What I can't understand is that its Imm value is 4, and the Imm values are the same among them.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0U81u2zwQfBrqspBBUn_0QQc7hhEDX5DDV6DocUWtLDYiaZBUUvfpC0lNU_TWQy-iIM6IszMcjNFcHVHLqiOrThnOafSh_TKj-39EnnW-v7ePhknB-Inxw8XB8fm_T0w-wNtoJoI3H16Mu4J3EL0l8LdkrPmOyXgXF9gF0AKmRPaWFmDy0JtAOk13sL43wx2MiynMeqXAHFfUSPD0cHExgZ4wxoWGU6Kw7sSE-gVQa4oR_DBESjt49G_0SmGTRg4ucAvGJfBzWknPNwroejBu8MGuAjd9g3E9pBE3WKA4TylC78H5BBaTHsHegb7dSKdtrt1mBmzLz6cUrDoai1di1YlJNaZ0i6w4MHlm8nw1aZy7nfaWyfM0vb4v-S34r6QTk2eMkVJk8qyEaEQlBZPnYeCFqlHnQmuel_We8o73Oi-EIEFDUXM-MLn_Xcg69eLhNsmi4J_LlLqvSdQ8Fyh1Xmol8050PK-xKeReV32D3R8yPy-GX0CjY7JJMLueQkxrQHFLw6QIF2vhFaeZlq_lkheuYdHHTgQMtF0LtARo_XZ_7C7r26LfF3vMqBWNEKopi4JnY4uiEFgpJVWntKyGRpVlp4TmkksptchMK7kseVEIrgpV8V1Z70XT866qKqx4XbOSk0Uz7RZzdj5cMxPjTK1qhFLZhB1Nce2UlFtf5NKu0K5edvM1spJPJqb48YNk0rT2cCVUJ2DV8elheTkcgh7r8r0QvwJej8zmMLV_HeJKXUNcBP8IAAD__wX0RAU">