llvm-project/llvm/lib/Transforms
Shuxin Yang 1c442f5ec6 This change is to fix rdar://12571717 which is about assertion in Reassociate pass.
The assertion is trigged when the Reassociater tries to transform expression
     ... + 2 * n * 3 + 2 * m + ...
  into:
     ... + 2 * (n*3 + m).

In the process of the transformation, a helper routine folds the constant 2*3 into 6,
confusing optimizer which is trying the to eliminate the common factor 2, and cannot
find 2 any more. 

Review is pending. But I'd like commit first in order to help those who are waiting 
for this fix. 

llvm-svn: 167740
2012-11-12 19:34:11 +00:00
..
Hello Since the Hello pass is built as a loadable dynamic library, don't try to convert it to new-style registration yet. 2010-10-07 00:31:16 +00:00
IPO Revert the series of commits starting with r166578 which introduced the 2012-11-01 08:07:29 +00:00
InstCombine Add method for replacing instructions to LibCallSimplifier 2012-11-11 03:51:43 +00:00
Instrumentation [ASan] fixup for r167725: Don't fetch name of StructType if it is literal 2012-11-12 14:47:00 +00:00
Scalar This change is to fix rdar://12571717 which is about assertion in Reassociate pass. 2012-11-12 19:34:11 +00:00
Utils Normalize memcmp constant folding results. 2012-11-12 14:00:45 +00:00
Vectorize BBVectorize: Check the input types of shuffles for legality 2012-11-12 14:50:59 +00:00
CMakeLists.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
LLVMBuild.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
Makefile Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00