[llvm-commits] [llvm] r164935 - /llvm/trunk/include/llvm/Target/TargetData.h
Benjamin Kramer
benny.kra at googlemail.com
Mon Oct 1 04:56:16 PDT 2012
Author: d0k
Date: Mon Oct 1 06:56:16 2012
New Revision: 164935
URL: http://llvm.org/viewvc/llvm-project?rev=164935&view=rev
Log:
TargetData: s/uint32_t/unsigned/ per Kuba's request.
Modified:
llvm/trunk/include/llvm/Target/TargetData.h
Modified: llvm/trunk/include/llvm/Target/TargetData.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetData.h?rev=164935&r1=164934&r2=164935&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetData.h (original)
+++ llvm/trunk/include/llvm/Target/TargetData.h Mon Oct 1 06:56:16 2012
@@ -53,10 +53,10 @@
/// @note The unusual order of elements in the structure attempts to reduce
/// padding and make the structure slightly more cache friendly.
struct TargetAlignElem {
- uint32_t AlignType : 8; ///< Alignment type (AlignTypeEnum)
- uint32_t TypeBitWidth : 24; ///< Type bit width
- uint32_t ABIAlign : 16; ///< ABI alignment for this type/bitw
- uint32_t PrefAlign : 16; ///< Pref. alignment for this type/bitw
+ unsigned AlignType : 8; ///< Alignment type (AlignTypeEnum)
+ unsigned TypeBitWidth : 24; ///< Type bit width
+ unsigned ABIAlign : 16; ///< ABI alignment for this type/bitw
+ unsigned PrefAlign : 16; ///< Pref. alignment for this type/bitw
/// Initializer
static TargetAlignElem get(AlignTypeEnum align_type, unsigned abi_align,
More information about the llvm-commits
mailing list