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

Cameron Zwarich zwarich at apple.com
Wed Apr 13 02:39:32 PDT 2011


On 2011-04-13, at 2:31 AM, Duncan Sands wrote:

> Hi Cameron,
> 
>> +; CHECK: align 3
> 
> shouldn't alignment be a power of 2?

The align assembler directive on ARM uses the number of leading 0 bits of the address, not the byte alignment.

Cameron



More information about the llvm-commits mailing list