<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+          int64_t count = ImmVal -<br>
+            int64_t(short(DefInstr->getOperand(1).getImm()));<br></blockquote><div><br></div><div style>This piece of code is confusing. Why is it casting to `short`? If it just doing it to mask to 16-bit, I'd rather see that done explicitly with `& 0xFFFF` instead of assuming that the host's `short` is 16 bits.</div>
<div style><br></div><div style>-- Sean Silva</div></div></div></div>