Rework global alignment computation again. Now we do round up
[oota-llvm.git] / include / llvm / CodeGen / AsmPrinter.h
index b5c287ae90f095cfcb0b214d7f5185ad0583a976..243ddbb5da342d98d339dc378127b8d7e82f670f 100644 (file)
@@ -204,12 +204,8 @@ namespace llvm {
     /// EmitAlignment - Emit an alignment directive to the specified power of
     /// two boundary.  For example, if you pass in 3 here, you will get an 8
     /// byte alignment.  If a global value is specified, and if that global has
-    /// an explicit alignment requested, it will unconditionally override the
-    /// alignment request.
-    ///
-    /// The algorithm is:
-    ///     Align = NumBits;
-    ///     if (GV && GV->hasalignment) Align = GV->getAlignment();
+    /// an explicit alignment requested, it will override the alignment request
+    /// if required for correctness.
     ///
     void EmitAlignment(unsigned NumBits, const GlobalValue *GV = 0) const;
     
@@ -218,7 +214,6 @@ namespace llvm {
     /// it if appropriate.
     void EmitBasicBlockStart(const MachineBasicBlock *MBB) const;
     
-    
     /// EmitGlobalConstant - Print a general LLVM constant to the .s file.
     void EmitGlobalConstant(const Constant *CV, unsigned AddrSpace = 0);