diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-03-18 23:00:58 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-03-18 23:00:58 +0000 |
commit | 08a215c2869a89b977754334943681a56f5fc460 (patch) | |
tree | 9f652e7fc0b230a7797827fd60b6768f75722073 /include/llvm/CodeGen/MachineModuleInfo.h | |
parent | bf37bf9e21653f2439960d906a9c28cc19042bb0 (diff) |
Fix PPC unaligned 64-bit loads and stores
PPC64 supports unaligned loads and stores of 64-bit values, but
in order to use the r+i forms, the offset must be a multiple of 4.
Unfortunately, this cannot always be determined by examining the
immediate itself because it might be available only via a TOC entry.
In order to get around this issue, we additionally predicate the
selection of the r+i form on the alignment of the load or store
(forcing it to be at least 4 in order to select the r+i form).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineModuleInfo.h')
0 files changed, 0 insertions, 0 deletions