[LLVMdev] DAGCompiler::MergeConsecutiveStores Question

dag at cray.com dag at cray.com
Fri Nov 22 09:31:28 PST 2013


In DAGCombiner::MergeConsecutiveStores, there is this check:

     if (Index->getAlignment() != St->getAlignment())
       break;

Apparently this check ensures that all of the stores have the same
alignment.  Why is that necessary?  This seems very overly restrictive
to me.

                            -David



More information about the llvm-dev mailing list