<div dir="ltr">You are totally right:) Silly faults with confusing the instructions. Thank you again!<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-21 17:03 GMT+02:00 Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank">t.p.northover@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 21 July 2017 at 07:52, Anastasiya Ruzhanskaya<br>
<span class=""><<a href="mailto:anastasiya.ruzhanskaya@frtk.ru">anastasiya.ruzhanskaya@frtk.<wbr>ru</a>> wrote:<br>
> Thank you for the answer. So, as I understood, to get the type of the "or"<br>
> instruction (which I cannot access further as Value , because it is actually<br>
> a dead instruction), I should get the type of one of its' operands, yes?<br>
<br>
</span>The Type of the "or" instruction should be fine without messing around<br>
with operands, whether it's dead or not.<br>
<br>
First, make sure you're looking at the Instruction you think you are<br>
(sounds obvious, but I'm frequently not) by calling dump: "I->dump()"<br>
either in the actual C++ or in a debugger. You can also dump the Type<br>
itself to make sure it's i32. The more sanity checks the better!<br>
<br>
Other than that, what function are you using to get the size?<br>
<br>
Cheers.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tim.<br>
</font></span></blockquote></div><br></div>