[llvm-commits] [llvm-gcc-4.2] r46728 - in /llvm-gcc-4.2/trunk/gcc: llvm-backend.cpp llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Mon Feb 4 16:06:31 PST 2008
Author: baldrick
Date: Mon Feb 4 18:06:31 2008
New Revision: 46728
URL: http://llvm.org/viewvc/llvm-project?rev=46728&view=rev
Log:
Update comments.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=46728&r1=46727&r2=46728&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Mon Feb 4 18:06:31 2008
@@ -963,7 +963,7 @@
}
// Set the alignment for the global if one of the following condition is met
- // 1) DECL_ALIGN_UNIT does not match alignment as per ABI specification
+ // 1) DECL_ALIGN_UNIT is better than the alignment as per ABI specification
// 2) DECL_ALIGN is set by user.
if (DECL_ALIGN_UNIT(decl)) {
unsigned TargetAlign =
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp?rev=46728&r1=46727&r2=46728&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Mon Feb 4 18:06:31 2008
@@ -1583,7 +1583,7 @@
unsigned Alignment = 0; // Alignment in bytes.
// Set the alignment for the local if one of the following condition is met
- // 1) DECL_ALIGN_UNIT does not match alignment as per ABI specification
+ // 1) DECL_ALIGN_UNIT is better than the alignment as per ABI specification
// 2) DECL_ALIGN is set by user.
if (DECL_ALIGN_UNIT(decl)) {
unsigned TargetAlign = getTargetData().getABITypeAlignment(Ty);
More information about the llvm-commits
mailing list