[llvm-commits] [llvm] r129432 - in /llvm/trunk: lib/Target/TargetData.cpp test/CodeGen/ARM/2011-04-12-AlignBug.ll

Renato Golin rengolin at systemcall.org
Wed Apr 13 07:30:44 PDT 2011


On 13 April 2011 14:49, Cameron Zwarich <zwarich at apple.com> wrote:
> I have no idea about the history here, but LLVM is definitely using leading zeros in this test and all of the other ARM alignment tests, which is probably based on what the GNU assembler does:
>
> http://sourceware.org/binutils/docs/as/Align.html

Hi Cameron,

Gosh, that's weird... ;)

I suggest LLVM to use .balign instead:

http://sourceware.org/binutils/docs/as/Balign.html

since it's standard (and sane) for all platforms.

cheers,
--renato



More information about the llvm-commits mailing list