[llvm-commits] [llvm] r61030 - in /llvm/trunk: include/llvm/Attributes.h lib/AsmParser/llvmAsmParser.y lib/Bitcode/Writer/BitcodeWriter.cpp lib/VMCore/Attributes.cpp

Duncan Sands baldrick at free.fr
Mon Dec 15 02:52:37 PST 2008


Hi Nick,

> It turns out that "align 1" and unaligned are different. Add a bias to the
> alignment attribute such that 0 means unaligned.

what happens if a function is aligned 1024 or something huge like that?
Also, I don't think 0 means unaligned, I think it means default alignment.

Ciao,

Duncan.

> +                                     // 0 means unaligned different from align 1

-> 0 means default alignment

Ciao,

Duncan.



More information about the llvm-commits mailing list