[llvm-commits] [llvm] r46349 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Duncan Sands baldrick at free.fr
Fri Jan 25 00:53:26 PST 2008


> Add skeletal code to increase the alignment of loads and stores when
> we can infer it.  This will eventually help stuff, though it doesn't
> do much right now because all fixed FI's have an alignment of 1.

By the way, I've always assumed that alignment 0 is not used by the
code generators, i.e. that IR alignment 0 gets turned into the
preferred alignment for the target during lowering.  Is that right?
(If not, all the alignment calculations for ptr+offset done in codegen
are wrong).

Ciao,

Duncan.



More information about the llvm-commits mailing list