Go to file
Wei Mi fc1cab305f This patch is to fix PR26529 caused by r259736.
IndVarSimplify assumes scAddRecExpr to be expanded in literal form instead of
canonical form by calling disableCanonicalMode after it creates SCEVExpander.
When CanonicalMode is disabled, SCEVExpander::expand should always return PHI
node for scAddRecExpr. r259736 broke the assumption.

The fix is to let SCEVExpander::expand skip the reuse Value logic if
CanonicalMode is false.

In addition, Besides IndVarSimplify, LSR pass also calls disableCanonicalMode
before doing rewrite. We can remove the original check of LSRMode in reuse
Value logic and use CanonicalMode instead.

llvm-svn: 260174
2016-02-09 00:07:08 +00:00
clang [PGO] Cover more cases of implicitly generated C++ methods 2016-02-08 22:41:37 +00:00
clang-tools-extra [clang-tidy] Some improvements in 'misc-definitions-in-headers' check. 2016-02-08 16:05:39 +00:00
compiler-rt [asan] Fix Windows build. 2016-02-08 23:01:06 +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 math: Add frexp ported from amd-builtins 2016-02-08 17:07:21 +00:00
libcxx Revert r260012 due to __gnu_cxx::hash_map breakage 2016-02-08 23:47:13 +00:00
libcxxabi [libcxxabi] Teach cxa_demangle about Hexagon's long double size 2016-01-20 14:10:23 +00:00
libunwind Introduce NetBSD support 2016-02-06 18:19:29 +00:00
lld Move includes inside guards. NFC. 2016-02-08 21:50:45 +00:00
lldb A number of improvements to decorator conditionals. 2016-02-08 19:35:18 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm This patch is to fix PR26529 caused by r259736. 2016-02-09 00:07:08 +00:00
openmp [CMake] Introduce OPENMP_LLVM_TOOLS_DIR 2016-02-05 07:00:13 +00:00
polly Separate invariant equivalence classes by type 2016-02-07 17:30:13 +00:00