[llvm-commits] [llvm-gcc-4.2] r62076 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Wed Jan 14 03:46:56 PST 2009
Hi Evan,
> This gets translated into low level pointer arithmetics, right? Later
> on llvm-convert casts it to i8*:
>
> ArrayAddr = BitCastToType(ArrayAddr,
> PointerType::getUnqual(Type::Int8Ty));
>
> Is there a reason why we can't just give it the alignment of i8?
I just had some coffee and woke up. It is of course always safe to
give an alignment of 1.
Ciao,
Duncan.
More information about the llvm-commits
mailing list