Go to file
Ulrich Weigand e90b022468 Fix swapped BasePtr and Offset in pre-inc memory addresses.
PPCTargetLowering::getPreIndexedAddressParts currently provides
the base part of a memory address in the offset result, and the
offset part in the base result.  That swap is then undone again
when an MI instruction is generated (in PPCDAGToDAGISel::Select
for loads, and using .md Pat patterns for stores).

This patch reverts this double swap, to make common code and
back-end be in sync as to which part of the address is base
and which is offset.

To avoid performance regressions in certain cases, target code
now checks whether the choice of base register would be rejected
for pre-inc accesses by common code, and attempts to swap base
and offset again in such cases.  (Overall, this means that now
pre-ice accesses are generated *more* frequently than before.)

llvm-svn: 177733
2013-03-22 14:58:48 +00:00
clang Update docs after moving clang-format from clang-tools-extra to cfe. 2013-03-22 12:44:20 +00:00
clang-tools-extra Fix Makefile. 2013-03-20 10:02:35 +00:00
compiler-rt [msan] Handle dlopen() failure in dlopen interceptor. 2013-03-22 11:59:49 +00:00
debuginfo-tests Remove IR scenario tests. 2013-03-15 20:52:10 +00:00
libclc
libcxx Fix buffer read overflow in money_get::do_get(). Found by UBSan 2013-03-22 02:14:40 +00:00
libcxxabi Bruce Mitchener: Typo fixes. 2013-02-15 15:48:49 +00:00
lld [ELF][Hexagon][test] check .got.plt order 2013-03-20 23:39:43 +00:00
lldb More cleanup to remove the CoreFoundation classes out of mainstream code (CFCMutableDictionary, CFCMutableArray, CFCString, etc). Now it is only used in the Results.cpp file for Apple builds only. 2013-03-22 02:38:49 +00:00
llvm Fix swapped BasePtr and Offset in pre-inc memory addresses. 2013-03-22 14:58:48 +00:00
polly Add failing test case 2013-03-21 16:14:55 +00:00