aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-24 03:58:46 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-24 03:58:46 +0000
commit9d6c919efe4312cf79343ed1d676d0efa087e112 (patch)
tree1df0ccbfb95a6a708ea9c4d3ddb1cc4fb37c92cc /lib/CodeGen/MachineFunction.cpp
parentfa8a0e5256bd7b13ab7859616c6983718877f3a2 (diff)
1. Make internal functions take const arguments where they should, just
to be safe. 2. Make internal functions that return a carry/borrow return bool instead of uint64_t because the carry/borrow can only be in range [0,1]. 3. Assert that the pointers to KnuthDiv are all different so that the result and operands can't overlap. 4. Add debug output to KnuthDiv function. 5. Fix a problem with KnuthDiv by separating the b's complement operation from the subtraction borrow operation. This fixes a wide range of division problems, but alas, not all of them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions