add a method to get the alignment of an integer type even
authorChris Lattner <sabre@nondot.org>
Mon, 25 Jan 2010 23:18:11 +0000 (23:18 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 25 Jan 2010 23:18:11 +0000 (23:18 +0000)
commitda63b3ad6307cb4094383fad9695e4bb32ccac01
treef7a898c71535dd835ff4d8ea96478f97bfd95fda
parentaeb326aad70acd1dd8b08564be4165eabc9ef542
add a method to get the alignment of an integer type even
when we don't have one laying around.  Useful if you don't
have an llvmcontext handy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94468 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetData.h
lib/Target/TargetData.cpp