- Mar 02, 2012
-
-
Jay Foad authored
types of the pointer arguments. llvm-svn: 151927
-
Jim Grosbach authored
llvm-svn: 151926
-
Greg Clayton authored
llvm-svn: 151924
-
Fariborz Jahanian authored
// rdar://10961370 llvm-svn: 151923
-
Daniel Dunbar authored
Revert r151879, r151880, "PR12145: Avoid emitting loads of constexpr variables in contexts where there" and "Fix buildbot: make this test less dependent on the value names in the produced IR." They broke bootstrap. llvm-svn: 151922
-
Daniel Dunbar authored
llvm-svn: 151921
-
Benjamin Kramer authored
No, really, make doesn't work with spaces. llvm-svn: 151920
-
Benjamin Kramer authored
This could probably be made a lot smarter, but this is a common case and doesn't require LVI to scan a lot of code. With this change CVP can optimize away the "shift == 0" case in Hashing.h that only gets hit when "shift" is in a range not containing 0. llvm-svn: 151919
-
Benjamin Kramer authored
Hashing: microoptimize a truncate on 64 bit away. This currently blocks dead code eliminating the conditional. The optimizer should handle this eventually, but currently LVI isn't really designed for this kind of stuff. llvm-svn: 151918
-
Tobias Grosser authored
llvm-svn: 151917
-
Tobias Grosser authored
llvm-svn: 151916
-
Tobias Grosser authored
llvm-svn: 151915
-
Tobias Grosser authored
llvm-svn: 151914
-
Tobias Grosser authored
llvm-svn: 151913
-
Tobias Grosser authored
llvm-svn: 151912
-
Tobias Grosser authored
llvm-svn: 151911
-
Jia Liu authored
llvm-svn: 151910
-
Jia Liu authored
llvm-svn: 151909
-
Jia Liu authored
llvm-svn: 151908
-
Tobias Grosser authored
llvm-svn: 151907
-
Tobias Grosser authored
llvm-svn: 151906
-
Tobias Grosser authored
llvm-svn: 151905
-
Tobias Grosser authored
llvm-svn: 151904
-
Tobias Grosser authored
llvm-svn: 151903
-
Tobias Grosser authored
llvm-svn: 151902
-
Tobias Grosser authored
llvm-svn: 151901
-
Tobias Grosser authored
llvm-svn: 151900
-
Tobias Grosser authored
This allows us to remove a lot of redundant parameters. llvm-svn: 151899
-
Tobias Grosser authored
llvm-svn: 151898
-
Tobias Grosser authored
llvm-svn: 151897
-
Tobias Grosser authored
llvm-svn: 151896
-
Tobias Grosser authored
llvm-svn: 151895
-
Tobias Grosser authored
llvm-svn: 151894
-
Tobias Grosser authored
Suggested by: Sebastian Pop <sebpop@gmail.com> llvm-svn: 151893
-
Chandler Carruth authored
folks who know something about PPC tell me that the byte swap is crazy fast and without this the bit mixture would actually be different. It might not be worse, but I've not measured it and so I'd rather not trust it. This way, the algorithm is identical on both endianness hosts. I'll look into any performance issues etc stemming from this. llvm-svn: 151892
-
Chandler Carruth authored
just ensure that the number of bytes in the pair is the sum of the bytes in each side of the pair. As long as thats true, there are no extra bytes that might be padding. Also add a few tests that previously would have slipped through the checking. The more accurate checking mechanism catches these and ensures they are handled conservatively correctly. Thanks to Duncan for prodding me to do this right and more simply. llvm-svn: 151891
-
David Chisnall authored
try to define C++ keywords as typedefs (fixed in Solaris 11). llvm-svn: 151890
-
David Chisnall authored
Unconditionally define __C99FEATURES__ when using C++ on Solaris. This is a (hopefully temporary) work around for libc++ exposing C99-but-not-C++98 features in C++98 mode. llvm-svn: 151889
-
Evgeniy Stepanov authored
llvm-svn: 151888
-
Evgeniy Stepanov authored
This change replaces getTypeStoreSize with getTypeAllocSize in AddressSanitizer instrumentation for stack allocations. One case where old behaviour produced undesired results is an optimization in InstCombine pass (PromoteCastOfAllocation), which can replace alloca(T) with alloca(S), where S has the same AllocSize, but a smaller StoreSize. Another case is memcpy(long double => long double), where ASan will poison bytes 10-15 of a stack-allocated long double (StoreSize 10, AllocSize 16, sizeof(long double) = 16). See http://llvm.org/bugs/show_bug.cgi?id=12047 for more context. llvm-svn: 151887
-