llvm-6502/unittests
Cameron Zwarich 8d7285d0e5 The signed version of our "magic number" computation for the integer approximation
of a constant had a minor typo introduced when copying it from the book, which
caused it to favor negative approximations over positive approximations in many
cases. Positive approximations require fewer operations beyond the multiplication.

In the case of division by 3, we still generate code that is a single instruction
larger than GCC's code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126097 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-21 00:22:02 +00:00
..
ADT The signed version of our "magic number" computation for the integer approximation 2011-02-21 00:22:02 +00:00
Analysis Make SCEVUnknown a CallbackVH, so that it can be notified directly 2010-08-02 23:49:30 +00:00
ExecutionEngine unittests/CMakeLists.txt: [PR8225] Tweak linking JITTests on MSVC to add JITTests.def. 2010-11-19 03:19:42 +00:00
Support Adds llvm::sys::path::is_separator() to test whether a char is a path separator 2011-02-11 21:24:40 +00:00
Transforms Make RecursivelyDeleteDeadPHINode delete a phi node that has no users and add a 2011-02-20 18:05:56 +00:00
VMCore Allow unnamed_addr on declarations. 2011-01-15 08:15:00 +00:00
CMakeLists.txt Put targets on folders, if the IDE supports the feature. 2011-02-20 22:06:10 +00:00
Makefile Merge System into Support. 2010-11-29 18:16:10 +00:00
Makefile.unittest build: Add MAKEFILE_UNITTEST_NO_INCLUDE_COMMON build variable, to be leveraged 2011-02-04 17:12:18 +00:00