<div dir="ltr">On Tue, Sep 17, 2013 at 11:24 AM, Matt Arsenault <span dir="ltr"><<a href="mailto:Matthew.Arsenault@amd.com" target="_blank">Matthew.Arsenault@amd.com</a>></span> wrote:<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"><div class="im"><br>
<br>
================<br>
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:1081<br>
@@ -1080,3 +1065,2 @@<br>
-      return false;<br>
   }<br>
<br>
----------------<br>
</div><div class="im">Eli Friedman wrote:<br>
> Is just deleting this code really right?  Consider if a function is declared as "intptr_t f(void)" and defined as "void* f(void)".  (I know this isn't tested well...)<br>
</div>This doesn't happen since the change I mentioned. Pointer<->integer doesn't pass the CastInst::isBitCastable check.<br>
<br><br></blockquote><div>Oh, right.<br><br></div><div>LGTM, then.<br><br></div><div>-Eli <br></div></div><br></div></div>