[llvm-commits] [llvm] r51019 - in /llvm/trunk: lib/Target/X86/README-SSE.txt lib/Target/X86/X86InstrInfo.td test/CodeGen/X86/vec_set-H.ll

Chris Lattner clattner at apple.com
Tue May 13 11:30:07 PDT 2008


On May 13, 2008, at 10:06 AM, Török Edwin wrote:
>> Checking that the i8 is known to have 16 bit alignment should be
>> sufficient to prevent this.
>
> This reminds me of a gcc 4.0 bug that caused a kernel crash.
>
> A byte access was turned into a word access, and the pointer was at  
> the
> end of a page, see full details here:
> http://lkml.org/lkml/2007/10/3/172

A byte that is at the end of the page doesn't have 16 bit alignment,  
therefore it should not be transformed.

-Chris



More information about the llvm-commits mailing list