[PATCH] Re-add DataLayout convenience functions for getting pointer size

Matt Arsenault arsenm2 at gmail.com
Mon Jul 22 18:58:38 PDT 2013


On Jul 22, 2013, at 18:48 , Eli Friedman <eli.friedman at gmail.com> wrote:

> Also, I'm not sure I really like the general design of these APIs;
> what is the benefit of using them over getTypeSizeInBits()?

getTypeSizeInBits doesn't return the same thing for vectors of pointers. It would return n * the pointer size, when you want just the pointer size.



More information about the llvm-commits mailing list