diff options
author | Samuel Antao <sfantao@us.ibm.com> | 2014-10-09 20:42:56 +0000 |
---|---|---|
committer | Samuel Antao <sfantao@us.ibm.com> | 2014-10-09 20:42:56 +0000 |
commit | 1194b8fd403fbc50e795243d107fa8723b9fb8d2 (patch) | |
tree | 4b3e363264cf2ebef902ed3f0166bb097264505f /llvm/lib/MC/MCSectionELF.cpp | |
parent | 73cc705a3740a265321ae4cfbff6bd68efabd90f (diff) | |
download | llvm-1194b8fd403fbc50e795243d107fa8723b9fb8d2.zip llvm-1194b8fd403fbc50e795243d107fa8723b9fb8d2.tar.gz llvm-1194b8fd403fbc50e795243d107fa8723b9fb8d2.tar.bz2 |
Fix bug in GPR to FPR moves in PPC64LE.
The current implementation of GPR->FPR register moves uses a stack slot. This mechanism writes a double word and reads a word. In big-endian the load address must be displaced by 4-bytes in order to get the right value. In little endian this is no longer required. This patch fixes the issue and adds LE regression tests to fast-isel-conversion which currently expose this problem.
llvm-svn: 219441
Diffstat (limited to 'llvm/lib/MC/MCSectionELF.cpp')
0 files changed, 0 insertions, 0 deletions