[compiler-rt] r253895 - [PGO] Use the alignment macro newly introduced (NFC)

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 23 10:09:18 PST 2015


Author: davidxl
Date: Mon Nov 23 12:09:18 2015
New Revision: 253895

URL: http://llvm.org/viewvc/llvm-project?rev=253895&view=rev
Log:
[PGO] Use the alignment macro newly introduced (NFC)

Modified:
    compiler-rt/trunk/lib/profile/InstrProfiling.h

Modified: compiler-rt/trunk/lib/profile/InstrProfiling.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfiling.h?rev=253895&r1=253894&r2=253895&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfiling.h (original)
+++ compiler-rt/trunk/lib/profile/InstrProfiling.h Mon Nov 23 12:09:18 2015
@@ -53,7 +53,7 @@ enum ValueKind {
 };
 
 typedef void *IntPtrT;
-typedef struct LLVM_ALIGNAS(8) __llvm_profile_data {
+typedef struct LLVM_ALIGNAS(INSTR_PROF_DATA_ALIGNMENT) __llvm_profile_data {
 #define INSTR_PROF_DATA(Type, LLVMType, Name, Initializer) Type Name;
 #include "InstrProfData.inc"
 } __llvm_profile_data;




More information about the llvm-commits mailing list