commit | 7ea1ab5f41299563eb648aed159cfaff09e774d8 | [log] [tgz] |
---|---|---|
author | Kalle Raiskila <kalle.raiskila@nokia.com> | Fri Nov 12 10:14:03 2010 +0000 |
committer | Kalle Raiskila <kalle.raiskila@nokia.com> | Fri Nov 12 10:14:03 2010 +0000 |
tree | 9352a3ac97282d9786b31ae08a2d03057186984e | |
parent | d0c82a683e965f326e36a2bcaa85c00e917f8282 [diff] |
Fix memory access lowering on SPU, adding support for the case where alignment<value size. These cases were silently miscompiled before this patch. Now they are overly verbose -especially storing is- and any front-end should still avoid misaligned memory accesses as much as possible. The bit juggling algorithm added here probably has some room for improvement still. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118889 91177308-0d34-0410-b5e6-96231b3b80d8