- Nov 29, 2012
-
-
Chad Rosier authored
llvm-svn: 168937
-
Chad Rosier authored
llvm-svn: 168936
-
Benjamin Kramer authored
Should bring the buildbots back to life. llvm-svn: 168935
-
Quentin Colombet authored
llvm-svn: 168933
-
Justin Holewinski authored
llvm-svn: 168932
-
rdar://12100355Shuxin Yang authored
This revision attempts to recognize following population-count pattern: while(a) { c++; ... ; a &= a - 1; ... }, where <c> and <a>could be used multiple times in the loop body. TODO: On X8664 and ARM, __buildin_ctpop() are not expanded to a efficent instruction sequence, which need to be improved in the following commits. Reviewed by Nadav, really appreciate! llvm-svn: 168931
-
Bill Wendling authored
the last invoke instruction in the function. This also removes the last landing pad in an function. This is fine, but with SjLj EH code, we've already placed a bunch of code in the 'entry' block, which expects the landing pad to stick around. When we get to the situation where CGP has removed the last landing pad, go ahead and nuke the SjLj instructions from the 'entry' block. <rdar://problem/12721258> llvm-svn: 168930
-
Jyotsna Verma authored
llvm-svn: 168929
-
Nadav Rotem authored
llvm-svn: 168928
-
Nadav Rotem authored
llvm-svn: 168927
-
Dmitri Gribenko authored
This enables option cross-referencing and now '--' in option names are no more turned into en dashes. llvm-svn: 168926
-
Meador Inge authored
This patch migrates the puts optimizations from the simplify-libcalls pass into the instcombine library call simplifier. All the simplifiers from simplify-libcalls have now been migrated to instcombine. Yay! Just a few other bits to migrate (prototype attribute inference and a few statistics) and simplify-libcalls can finally be put to rest. llvm-svn: 168925
-
Dmitri Gribenko authored
llvm-svn: 168924
-
Jim Grosbach authored
MachOObjectFile owns a MachOObj, but never frees it. Both MachOObjectFile and MachOObj want to own the MemoryBuffer, though, so we have to be careful and give them each one of their own. Thanks to Greg Clayton, Eric Christopher and Michael Spencer for helping figure out what's going wrong here. rdar://12561773 llvm-svn: 168923
-
Dmitri Gribenko authored
llvm-svn: 168922
-
Benjamin Kramer authored
Follow up to 168711: It's safe to base this analysis on the found compare, just return the value for the right predicate. Thanks to Andy for catching this. llvm-svn: 168921
-
Dmitri Gribenko authored
llvm-svn: 168920
-
Dmitri Gribenko authored
llvm-svn: 168919
-
Andrew Trick authored
llvm-svn: 168914
-
Alexey Samsonov authored
[ASan] Simplify check added in r168861. Bail out from module pass early if the module is blacklisted. llvm-svn: 168913
-
Dmitri Gribenko authored
llvm-svn: 168912
-
Matt Beaumont-Gay authored
llvm-svn: 168911
-
Alexey Samsonov authored
llvm-svn: 168910
-
Shuxin Yang authored
llvm-svn: 168909
-
Dmitri Gribenko authored
This enables cross-referencing and now '--' in option names are no more turned into en dashes. llvm-svn: 168906
-
Pedro Artigas authored
start up and clean up module passes, now that ASAN and TSAN are fixed the tests pass llvm-svn: 168905
-
Dmitri Gribenko authored
llvm-svn: 168904
-
Dmitri Gribenko authored
llvm-svn: 168902
-
Patrik Hagglund authored
llvm-svn: 168899
-
Dmitri Gribenko authored
llvm-svn: 168897
-
Meador Inge authored
This patch migrates the fputs optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 168893
-
Meador Inge authored
This patch migrates the fwrite optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 168892
-
Meador Inge authored
This patch migrates the fprintf optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 168891
-
Evgeniy Stepanov authored
Handle insertelement, extractelement, shufflevector. llvm-svn: 168889
-
Evgeniy Stepanov authored
The old version failed on a 3-arg instruction with (-1, 0, 0) shadows (it would pick the 3rd operand origin irrespective of its shadow). The new version always picks the origin of the rightmost poisoned operand. llvm-svn: 168887
-
Silviu Baranga authored
llvm-svn: 168886
-
Benjamin Kramer authored
This was found by MSVC10's STL debug mode on a test from the test suite. Sadly std::is_heap isn't standard so there is no way to assert this without writing our own heap verify, which looks like overkill to me. llvm-svn: 168885
-
Evgeniy Stepanov authored
llvm-svn: 168884
-
Justin Holewinski authored
If we need to split the operand of a VSELECT, it must be the mask operand. We split the entire VSELECT operand with EXTRACT_SUBVECTOR. llvm-svn: 168883
-
Justin Holewinski authored
Allow targets to prefer TypeSplitVector over TypePromoteInteger when computing the legalization method for vectors For some targets, it is desirable to prefer scalarizing <N x i1> instead of promoting to a larger legal type, such as <N x i32>. llvm-svn: 168882
-