[LLVMdev] RFC: llvm-convert.cpp Patch

Chris Lattner sabre at nondot.org
Wed Nov 7 09:53:34 PST 2007


On Wed, 7 Nov 2007, Dale Johannesen wrote:
> Would it be terrible to drop the alignment on memcpy altogether?  The 
> source and destination have alignments and llvm should be able to figure 
> out what the safe alignment is for memcpy.  This is a target-dependent 
> decision anyway; misaligned loads are a good idea on some targets, not 
> on others.

No, it wouldn't be terrible.  This sounds like a good short-term fix.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list