[llvm-commits] [llvm] r52537 - /llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp

Matthijs Kooijman matthijs at stdin.nl
Tue Jun 24 11:02:47 PDT 2008


> Out of curiosity, why not?  {x} -> x would eliminate extractvalue  
> instructions, so it seems that it would reduce the size of the IR.
Because that would also perform this transformation on external functions and
other functions that are intrinsically alive (Since we don't store that they
are intrinsically alive, only that all of their return values and arguments
are).

On second thought, however, it might be better to store intrinsically
alive functions as such, which should also reduce the size of the Uses map and
reduce lookup times.

> typo: chaning -> changing
I think Dan pointed this out somewhere as well, I didn't get around to fixing
those yet :-)

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080624/96cbd165/attachment.sig>


More information about the llvm-commits mailing list