commit | fd6673cf7fd5c0c1e6817e5fcf460a289712ee57 | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Sat Dec 13 07:18:38 2008 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Sat Dec 13 07:18:38 2008 +0000 |
tree | 9079d530d6ff4b256a5550539643461cb09f331f | |
parent | a4a83c314c5997ff2b5eadae8e711fec6501121d [diff] |
On big-endian machines it is wrong to do a full width register load followed by a truncating store for the copy, since the load will not place the value in the lower bits. Probably partial loads/stores can never happen here, but fix it anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60972 91177308-0d34-0410-b5e6-96231b3b80d8