Go to file
Chris Lattner 5858e091a6 implement constant folding support for an exotic constant expr:
ret i64 ptrtoint (i8* getelementptr ([1000 x i8]* @X, i64 1, i64 sub (i64 0, i64 ptrtoint ([1000 x i8]* @X to i64))) to i64)

to "ret i64 1000".  This allows us to correctly compute the trip count
on a loop in PR8883, which occurs with std::fill on a char array.  This
allows us to transform it into a memset with a constant size.

llvm-svn: 122950
2011-01-06 06:19:46 +00:00
clang fix rdar://8823139, a crash on a comment in a preprocessed .s file 2011-01-06 05:01:51 +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 Reverting an old optimization that conflicts with the new allocator model, and causes some test casees to compile that shouldn't. 2011-01-04 19:53:31 +00:00
lldb Modify test_help_version() test case to be more precise in matching the version 2011-01-06 00:03:01 +00:00
llvm implement constant folding support for an exotic constant expr: 2011-01-06 06:19:46 +00:00