Go to file
James Y Knight 646c4032e7 Fix two issues in MergeConsecutiveStores:
1) PR25154. This is basically a repeat of PR18102, which was fixed in
r200201, and broken again by r234430. The latter changed which of the
store nodes was merged into from the first to the last. Thus, we now
also need to prefer merging a later store at a given address into the
target node, instead of an earlier one.

2) While investigating that, I also realized I'd introduced a bug in
r236850. There, I removed a check for alignment -- not realizing that
nothing except the alignment check was ensuring that none of the stores
were overlapping! This is a really bogus way to ensure there's no
aliased stores.

A better solution to both of these issues is likely to always use the
code added in the 'if (UseAA)' branches which rearrange the chain based
on a more principled analysis. I'll look into whether that can be used
always, but in the interest of getting things back to working, I think a
minimal change makes sense.

llvm-svn: 251816
2015-11-02 18:48:08 +00:00
clang Clang format a few prior patches (NFC) 2015-11-02 18:03:12 +00:00
clang-tools-extra Make the modernize-loop-convert's const-detection smarter. 2015-11-02 17:02:52 +00:00
compiler-rt Revert "Apply modernize-use-default to compiler-rt." 2015-10-30 18:52:31 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Remove undefined behavior from some tests. Same pattern as the unitialized_copy tests 2015-11-02 15:29:13 +00:00
libcxxabi Fix LIBCXXABI_HAS_NO_THREADS configuration. 2015-10-14 19:21:38 +00:00
libunwind Add FreeBSD _Unwind_Ptr typedef 2015-10-16 19:40:09 +00:00
lld Make a method static. NFC. 2015-11-02 14:33:11 +00:00
lldb Handle the options and parameters separator in every MI command 2015-11-02 11:43:40 +00:00
llgo [llgo] irgen: always use TargetMachine's data layout 2015-09-25 06:28:14 +00:00
llvm Fix two issues in MergeConsecutiveStores: 2015-11-02 18:48:08 +00:00
openmp [OPENMP] Add dependency to clang/clang-headers etc. for in-tree build of libomp. 2015-11-02 13:43:32 +00:00
polly ScopInfo: Bail out in case of mismatching array dimension sizes 2015-11-02 11:29:32 +00:00