On 10/23/07, Chris Lattner <[EMAIL PROTECTED]> wrote:
> > URL: http://llvm.org/viewvc/llvm-project?rev=43270&view=rev
> > Log:
> > If there's an unaligned memcpy to/from the stack, don't lower it.
> > Just call the
> > memcpy library function instead.
>
> Hey Bill,
>
> There is nothing specific about the stack here, please just make it
> depend on whether the alignment of the src/dest pointers are sufficient.
>
Are you certain? When Evan and I looked at it, it seemed like it was
mostly having problems with the stack pointer and alignment. If it
wasn't aligned for PPC, then it would barf.

I'm that's not the case, then this would be the patch, right?

          if (Size % Align != 0)
            break;

-bw
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to