[llvm-commits] [llvm] r107114 - /llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Jul 2 18:01:24 PDT 2010


On Jul 2, 2010, at 5:54 PM, Evan Cheng wrote:

> I've looked into this. The main issue is when the register allocator folded reloads from fixed slots the loads ended up with alignment 1. That's because by default all fixed slots have alignment of 1. This is overly conservative. DAG combiner will infer the correct alignments from stack pointer alignments and frame offset. But at register allocation time we are simply taking the frame object's alignments.
> 
> I think the right fix is to make sure the fixed objects have the inferred alignments when they are created. Does anyone see a problem with that?

That sounds reasonable to me.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100702/507ef636/attachment.bin>


More information about the llvm-commits mailing list