llvm/lib/Support
Torok Edwin 2d0f1c57c3 APInt's countLeadingOnes() was broken for negative i128 values,
causing assertion failures in getSExtValue().
Fix it by making highWordBits actually contain what its name says,
and add some more unit-tests for APInt.
This fixes PR3419.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63107 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-27 18:06:03 +00:00
..
Allocator.cpp Fold the useful features of alist and alist_node into ilist, and 2008-07-28 21:51:04 +00:00
Annotation.cpp Fixes for Visual Studio users. Patch by OvermindDL1 on llvm-dev! 2008-12-08 00:45:02 +00:00
APFloat.cpp Do not use host floating point types when emitting 2009-01-21 20:32:55 +00:00
APInt.cpp APInt's countLeadingOnes() was broken for negative i128 values, 2009-01-27 18:06:03 +00:00
APSInt.cpp Added FoldingSet style 'profiling' support for APSInt. 2008-01-19 04:31:12 +00:00
CMakeLists.txt Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
CommandLine.cpp Mimic gcc behaviour with regard to response files. 2009-01-21 13:14:02 +00:00
ConstantRange.cpp Switch the asmprinter (.ll) and all the stuff it requires over to 2008-08-23 22:23:09 +00:00
Debug.cpp Make these variables static. 2008-04-23 23:15:23 +00:00
Dwarf.cpp Introduce two DWARF attribute extentions DW_AT_APPLE_optimized, DW_AT_APPLE_flags. 2009-01-23 22:33:47 +00:00
FileUtilities.cpp Fix more -Wshorten-64-to-32 warnings. 2008-05-05 18:30:58 +00:00
FoldingSet.cpp Do not use host floating point types when emitting 2009-01-21 20:32:55 +00:00
GraphWriter.cpp improve compatibility with various versions of graphviz, patch by 2009-01-20 18:25:03 +00:00
IsInf.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
IsNAN.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
ManagedStatic.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
MemoryBuffer.cpp Fix more -Wshorten-64-to-32 warnings. 2008-05-05 18:30:58 +00:00
PluginLoader.cpp Fix for PR2881: fix a small leak exposed by valgrind, using a ManagedStatic. 2008-10-22 16:30:41 +00:00
raw_ostream.cpp Add method raw_fd_ostream::seek() for random access within a file. 2009-01-26 21:42:04 +00:00
SlowOperationInformer.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
SmallPtrSet.cpp Fix several const-correctness issues, resolving some -Wcast-qual warnings. 2008-08-05 14:45:15 +00:00
Statistic.cpp Clean up the use of static and anonymous namespaces. This turned up 2008-05-13 00:00:25 +00:00
Streams.cpp Remove more iostream header includes. Needed to implement a "FlushStream" 2008-05-29 21:46:33 +00:00
StringExtras.cpp Fix more -Wshorten-64-to-32 warnings. 2008-05-05 18:30:58 +00:00
StringMap.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
StringPool.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
SystemUtils.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Timer.cpp Reapply 53476 and 53480, with a fix so that it properly updates 2008-07-14 18:19:29 +00:00