Go to file
Chris Lattner 8643810ede Teach loop-idiom to turn a loop containing a memset into a larger memset
when safe.

The testcase is basically this nested loop:
void foo(char *X) {
  for (int i = 0; i != 100; ++i) 
    for (int j = 0; j != 100; ++j)
      X[j+i*100] = 0;
}

which gets turned into a single memset now.  clang -O3 doesn't optimize
this yet though due to a phase ordering issue I haven't analyzed yet.

llvm-svn: 122806
2011-01-04 07:46:33 +00:00
clang Implement -Wself-assign, which warns on code such as: 2011-01-04 06:52:15 +00:00
compiler-rt license change 2010-11-16 22:13:33 +00:00
debuginfo-tests Zap white spaces, test commit email. 2010-11-10 18:11:11 +00:00
libcxx Effort to reduce the number of exported symbols 2010-12-17 14:46:43 +00:00
lldb Fixed a problem where constant results of expressions 2011-01-04 02:41:41 +00:00
llvm Teach loop-idiom to turn a loop containing a memset into a larger memset 2011-01-04 07:46:33 +00:00