[llvm-commits] [PATCH] Add getPointerTypeSizeInBits API to datalayout

Micah Villmow villmow at gmail.com
Mon Nov 5 13:41:28 PST 2012


This re-adds the getPointerTypeSizeInBits API to the DataLayout class and also adds in unit tests to verify the functionality for both scalar pointers and vector of pointers.

http://llvm-reviews.chandlerc.com/D100

Files:
  unittests/VMCore/DataLayoutTests.cpp
  unittests/VMCore/CMakeLists.txt
  include/llvm/DataLayout.h
  lib/VMCore/DataLayout.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100.1.patch
Type: text/x-patch
Size: 10149 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121105/124c3963/attachment.bin>


More information about the llvm-commits mailing list