Go to file
Daniel Sanders 3519dce968 [mips][msa] Fix invalid generated code when lowering FrameIndex involving unaligned offsets.
Summary:
The MSA ld.[bhwd] and st.[bhwd] instructions scale the immediate by the
element size before use as an offset. The offset must therefore be a
multiple of the element size to be valid in these instructions. However,
an unaligned base address is valid in MSA.

This commit causes the compiler to emit valid code when the calculated
offset is not a multiple of the element size by accounting for the offset
using addiu and using a zero offset in the load/store.

Depends on D2338

Reviewers: matheusalmeida

Reviewed By: matheusalmeida

Differential Revision: http://llvm-reviews.chandlerc.com/D2339

llvm-svn: 196777
2013-12-09 12:47:12 +00:00
clang Make the -Wkeyword-compat diag message more accurate 2013-12-09 12:41:02 +00:00
clang-tools-extra clang-modernize: Update PPCallback user. 2013-12-07 17:18:12 +00:00
compiler-rt Fix integer tests on platforms where uint64_t is 'unsigned long long'. 2013-12-06 21:49:18 +00:00
debuginfo-tests don't use CHECK-NEXT because it may be on the same line. 2013-09-18 23:01:54 +00:00
libclc Fix a C&P error in r195021 (65a950abab3cb8435ccb2646ac4773986c995c81) 2013-11-28 00:17:29 +00:00
libcxx Give all members of exception types default visibility. Lack of this is causing some illegal code relocations rare and hard to reproduce cases. 2013-12-04 21:03:23 +00:00
libcxxabi Rename UnwindRegisters*.s files to UnwindRegisters*.S, step 2 of 2 2013-12-06 00:37:21 +00:00
lld Fix a copy/paste error. 2013-12-09 10:23:27 +00:00
lldb Fix Debian GNU/kFreeBSD build 2013-12-09 01:35:42 +00:00
llvm [mips][msa] Fix invalid generated code when lowering FrameIndex involving unaligned offsets. 2013-12-09 12:47:12 +00:00
openmp Update web pages to include style sheets and referenced documents missed before. 2013-10-03 11:55:28 +00:00
polly Update isl to latest maintenance release 2013-12-07 11:58:06 +00:00