[LLVMbugs] LLI Fix:

Chris Lattner sabre at nondot.org
Wed Oct 30 13:57:41 PST 2002


This is just a note that I just checked in an important fix for LLI hosted
on sparc:

http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20021028/001163.html

This should fix the problems reported on CSIL, it just needs to be fed to
the CSIL tree.  Summary:

Fix two problems:
  * Load Implementation can cause unaligned memory accesses, which caused
    problems for sparc.
  * cast from pointer to pointer would zero the upper 32 bits of the pointer
    which obviously causes problems on 64 bit hosts.

Note that these fixes won't affect an X86 host because it uses 32 bit
pointers, and because it doesn't have alignment restrictions.

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-bugs mailing list