[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
Duncan Sands
baldrick at free.fr
Sun Jun 27 10:22:22 PDT 2010
Hi Rafael,
> Note that for example in the test I added we only align once with an
> "add r0, r0, 7; and r0, r0, -8". If both VAARG nodes had alignment
> information we would add an extra "add r0, r0, 3; and r0, r0, -4".
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.
Ciao,
Duncan.
More information about the llvm-commits
mailing list