Chris Lattner de97b5788c Get rid of getSizeOf, using ConstantExpr::getSizeOf instead.
do not insert a prototype for malloc of: void* malloc(uint): on 64-bit u
targets this is not correct.  Instead of prototype it as void *malloc(...),
and pass the correct intptr_t through the "...".

Finally, fix Regression/CodeGen/SparcV9/2004-12-13-MallocCrash.ll, by not
forming constantexpr casts from pointer to uint.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18908 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-13 20:00:02 +00:00
..
2004-12-10 05:40:19 +00:00
2004-12-13 18:25:27 +00:00
2004-12-13 17:01:53 +00:00
2004-12-13 03:50:50 +00:00
2004-12-13 18:28:59 +00:00
2004-12-13 19:59:50 +00:00
2004-11-14 21:54:41 +00:00