[llvm-commits] [llvm] r94381 - /llvm/trunk/lib/Target/PowerPC/PPCMCAsmInfo.cpp

Chris Lattner sabre at nondot.org
Sun Jan 24 12:54:45 PST 2010


Author: lattner
Date: Sun Jan 24 14:54:45 2010
New Revision: 94381

URL: http://llvm.org/viewvc/llvm-project?rev=94381&view=rev
Log:
linux/ppc does use alignment in bytes, not pow-2.  This fixes PR6129.
It looks like linux/arm and linux/mips have the same setting, which 
are probably wrong.  Someone who cares about ARM and MIPS should 
investigate with the testcase in PR6129.

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCMCAsmInfo.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCMCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCMCAsmInfo.cpp?rev=94381&r1=94380&r2=94381&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCMCAsmInfo.cpp Sun Jan 24 14:54:45 2010
@@ -51,7 +51,6 @@
   ZeroDirective = "\t.space\t";
   SetDirective = "\t.set";
   Data64bitsDirective = is64Bit ? "\t.quad\t" : 0;
-  AlignmentIsInBytes = false;
   HasLCOMMDirective = true;
   AssemblerDialect = 0;           // Old-Style mnemonics.
 }





More information about the llvm-commits mailing list