[llvm-commits] [llvm] r106952 - in /llvm/trunk: include/llvm/CodeGen/ISDOpcodes.h include/llvm/CodeGen/SelectionDAG.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp lib/CodeGen/SelectionDAG/SelectionDAG
Rafael Espindola
espindola at google.com
Sun Jun 27 10:47:01 PDT 2010
> I'm more and more confused. What is the definition of the alignment
> argument? Does a value of A mean: the memory the VAARG is reading
> from is guaranteed to be aligned at least A? That's what I had
> understood. But your example suggests it means something completely
> different. It sounds like a value of A means: this pointer may not
> be aligned A, and must be forced to an alignment of A before doing
> anything. Can you please explain.
Correct. The meaning is "make sure this pointer is aligned to this",
no "we know it is already aligned to this".
> Ciao,
>
> Duncan.
>
Cheers,
--
Rafael Ávila de Espíndola
More information about the llvm-commits
mailing list