Author: sheng
Date: Wed Dec 12 20:03:57 2007
New Revision: 44977
URL: http://llvm.org/viewvc/llvm-project?rev=44977&view=rev
Log:
Remove this testcase as it will always fail on
platform like Darwin.
Removed:
llvm/trunk/test/ExecutionEngine/2007-12-11-APIntExFuncCall.ll
Removed: llvm/trunk/te
Author: sheng
Date: Wed Dec 12 00:16:47 2007
New Revision: 44914
URL: http://llvm.org/viewvc/llvm-project?rev=44914&view=rev
Log:
Add a guard to cxxabi header as other platform may
not support it.
Modified:
llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
Modified: llvm/trunk
Hi Chris,
2007/12/12, Chris Lattner <[EMAIL PROTECTED]>:
>
> > URL: http://llvm.org/viewvc/llvm-project?rev=44910&view=rev
> > Log:
> > Fixed PR1629.
> > Make lli interpreter correctly call external functions sin()/cos(),
> > __cxa_guard_acquire() and __cxa_guard_release().
> > #include
> > +#inc
Author: sheng
Date: Tue Dec 11 22:55:43 2007
New Revision: 44910
URL: http://llvm.org/viewvc/llvm-project?rev=44910&view=rev
Log:
Fixed PR1629.
Make lli interpreter correctly call external functions sin()/cos(),
__cxa_guard_acquire() and __cxa_guard_release().
Added:
llvm/trunk/test/Execution
>
> Message: 3
> Date: Thu, 29 Nov 2007 13:02:39 -0800
> From: Eric Christopher <[EMAIL PROTECTED]>
> Subject: Re: [llvm-commits] [llvm] r44353 -
> /llvm/trunk/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
> To: CVS Commit Messages for LLVM repository
> Message-ID: <[EMAIL PROTECTED]
Author: sheng
Date: Tue Nov 27 00:23:59 2007
New Revision: 44354
URL: http://llvm.org/viewvc/llvm-project?rev=44354&view=rev
Log:
Make this pass for CYGWIN.
Modified:
llvm/trunk/test/CFrontend/extern-weak.c
Modified: llvm/trunk/test/CFrontend/extern-weak.c
URL:
http://llvm.org/viewvc/llvm-p
Author: sheng
Date: Tue Nov 27 00:17:01 2007
New Revision: 44353
URL: http://llvm.org/viewvc/llvm-project?rev=44353&view=rev
Log:
Make this testcase compatible with CYGWIN.
Modified:
llvm/trunk/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
Modified: llvm/trunk/test/CFrontend/2005-02-20-Aggre
Hi Ciao,
Another benefit I can imagine is that using llvm.pow.* will make code more
effective than using @pow.
As llvm began to support apfloat, and as the llvm LangRef says "You can use
llvm.pow on any floating point or vector of floating point type. Not all
targets support all types however", we
Hi,
Here is the patch to make llvm-gcc/llvm-g++ emit llvm.pow.* when errno
disabled.
Thanks for revewing.
Sheng.
Index: gcc/llvm-convert.cpp
===
--- gcc/llvm-convert.cpp (revision 44263)
+++ gcc/llvm-convert.cpp (working copy)
@@ -4
Hi,
Sorry for reply late. Attached is the modified patch. It's now just for
NoAlias attribute and more safe for just eliminating bitcast that losing
attribute case. Thanks for reviewing in advance.
Sheng.
2007/11/9, Duncan Sands <[EMAIL PROTECTED]>:
>
> Hi,
>
> > This patch is for PR1582. As re
Hi All,
This patch is for PR1582. As recent discuss on that pr, the C++ FE doesn't
track the restrict qualifier in the function declaration at all. When
llvm-gcc handling CALL_EXPR and emiting callInst instruction, it can't get
the "NoAlias" attribute, and hence insert a BitCast in CallInst. This
Author: sheng
Date: Thu Jul 19 08:09:10 2007
New Revision: 40055
URL: http://llvm.org/viewvc/llvm-project?rev=40055&view=rev
Log:
Correct these reference_outputs.
Modified:
test-suite/trunk/SingleSource/UnitTests/Integer/bigint.reference_output
test-suite/trunk/SingleSource/UnitTests/Int
Author: sheng
Date: Fri Jul 6 01:01:16 2007
New Revision: 37936
URL: http://llvm.org/viewvc/llvm-project?rev=37936&view=rev
Log:
Correct a typo.
Modified:
llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
URL:
http
Hi Chris,
> The condition "IterationCount->getType() != LargestType" doesn't
> mean the IterationCount->getType's bitwidth < LargestType's
> so, sometimes, (like in this testcase), it need a trunc not ext.
> This patch is to fix it.
Ah, I see. Thank you for checking in the testcase. The re
Author: sheng
Date: Mon Jul 2 03:02:14 2007
New Revision: 37838
URL: http://llvm.org/viewvc/llvm-project?rev=37838&view=rev
Log:
Test case for recent patch for IndVarSimplify.cpp
Added:
llvm/trunk/test/Transforms/IndVarsSimplify/iterationCount_zext_or_trunc.ll
Added:
llvm/trunk/test/Transf
Changes in directory llvm/lib/Transforms/Scalar:
IndVarSimplify.cpp updated: 1.123 -> 1.124
---
Log message:
Fix a bug.
---
Diffs of the changes: (+4 -1)
IndVarSimplify.cpp |5 -
1 files changed, 4 insertions(+), 1 deletion(-)
Index: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Hi All,
Here is the llvm-gcc patch for PR1373. It makes llvm-gcc to emit noalias
parameter attribute as well as noalias intrinsic. Note this patch is just
for review. Please give me some suggestion to improve it. Thanks.
Sheng.
Index: gcc/llvm-convert.cpp
===
Changes in directory llvm/lib/VMCore:
Verifier.cpp updated: 1.212 -> 1.213
---
Log message:
Add assert to check if the attributes ZExt/SExt, NoAlias are apply to the
correct type of parameters.
---
Diffs of the changes: (+15 -0)
Verifier.cpp | 15 +++
1 files changed, 15 inse
Changes in directory llvm/lib/AsmParser:
Lexer.l updated: 1.112 -> 1.113
llvmAsmParser.y updated: 1.358 -> 1.359
---
Log message:
Commit first round work of PR1373: http://llvm.org/PR1373 . "noalias" is now
fully supported in
VMCore, BitCode, and Assembly. Documentation and test case paramatt
Changes in directory llvm/test/Feature:
paramattrs.ll updated: 1.6 -> 1.7
---
Log message:
Commit first round work of PR1373: http://llvm.org/PR1373 . "noalias" is now
fully supported in
VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll
updated also.
---
Diffs of the
Changes in directory llvm/lib/VMCore:
Function.cpp updated: 1.127 -> 1.128
---
Log message:
Commit first round work of PR1373: http://llvm.org/PR1373 . "noalias" is now
fully supported in
VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll
updated also.
---
Diffs of the
Changes in directory llvm/docs:
LangRef.html updated: 1.249 -> 1.250
---
Log message:
Commit first round work of PR1373: http://llvm.org/PR1373 . "noalias" is now
fully supported in
VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll
updated also.
---
Diffs of the chang
Changes in directory llvm/tools/llvm2cpp:
CppWriter.cpp updated: 1.48 -> 1.49
---
Log message:
Commit first round work of PR1373: http://llvm.org/PR1373 . "noalias" is now
fully supported in
VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll
updated also.
---
Diffs of
Changes in directory llvm/include/llvm:
ParameterAttributes.h updated: 1.12 -> 1.13
---
Log message:
Commit first round work of PR1373: http://llvm.org/PR1373 . "noalias" is now
fully supported in
VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll
updated also.
---
Dif
Changes in directory llvm/lib/CodeGen:
IntrinsicLowering.cpp updated: 1.85 -> 1.86
---
Log message:
Make LowerCTPOP() support arbitrary bitwidth integer type.
---
Diffs of the changes: (+22 -9)
IntrinsicLowering.cpp | 31 ++-
1 files changed, 22 insertions(+),
Changes in directory llvm-test/SingleSource/UnitTests/Integer:
reduce_xor.c added (r1.1)
reduce_xor.reference_output added (r1.1)
---
Log message:
Add a new test case for reduce_xor
---
Diffs of the changes: (+121 -0)
reduce_xor.c| 41 ++
reduce_xor.re
Changes in directory llvm-test/SingleSource/UnitTests/Integer:
integer_all_onesp.c added (r1.1)
integer_all_onesp.reference_output added (r1.1)
---
Log message:
Add a new test case.
---
Diffs of the changes: (+10 -0)
integer_all_onesp.c|9 +
integer_all_onesp.re
Changes in directory llvm-test/SingleSource/UnitTests/Integer:
multiple_assign.c updated: 1.2 -> 1.3
multiple_assign.reference_output updated: 1.1 -> 1.2
---
Log message:
Enhance this test case.
---
Diffs of the changes: (+60 -3)
multiple_assign.c| 47
Changes in directory llvm/lib/CodeGen:
IntrinsicLowering.cpp updated: 1.84 -> 1.85
---
Log message:
Correct the logic in LowerPartSet which cleared the bits from 0 to low-1.
---
Diffs of the changes: (+7 -5)
IntrinsicLowering.cpp | 12 +++-
1 files changed, 7 insertions(+), 5 del
Changes in directory llvm/lib/ExecutionEngine:
ExecutionEngine.cpp updated: 1.114 -> 1.115
---
Log message:
Compute the correct word number.
---
Diffs of the changes: (+1 -1)
ExecutionEngine.cpp |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/ExecutionEngine/Exe
Changes in directory llvm-test/SingleSource/UnitTests/Integer:
bits.h updated: 1.9 -> 1.10
---
Log message:
Add some new int types.
---
Diffs of the changes: (+10 -1)
bits.h | 11 ++-
1 files changed, 10 insertions(+), 1 deletion(-)
Index: llvm-test/SingleSource/UnitTests/Integ
Changes in directory llvm/test/Analysis/ScalarEvolution:
SolveQuadraticEquation.ll added (r1.1)
trip-count2.ll added (r1.1)
---
Log message:
Add two test cases to cover apintification change.
---
Diffs of the changes: (+67 -0)
SolveQuadraticEquation.ll | 32 ++
Changes in directory llvm/lib/Support:
ConstantRange.cpp updated: 1.44 -> 1.45
---
Log message:
Using APInt more efficiently.
---
Diffs of the changes: (+3 -5)
ConstantRange.cpp |8 +++-
1 files changed, 3 insertions(+), 5 deletions(-)
Index: llvm/lib/Support/ConstantRange.cpp
di
Changes in directory llvm/lib/Transforms/Scalar:
PredicateSimplifier.cpp updated: 1.70 -> 1.71
---
Log message:
Using APInt more efficiently.
---
Diffs of the changes: (+4 -5)
PredicateSimplifier.cpp |9 -
1 files changed, 4 insertions(+), 5 deletions(-)
Index: llvm/lib/Trans
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.748 -> 1.749
ScalarReplAggregates.cpp updated: 1.84 -> 1.85
---
Log message:
Make use of ConstantInt::isZero instead of ConstantInt::isNullValue.
---
Diffs of the changes: (+5 -5)
InstructionCombining.cpp
Changes in directory llvm/lib/Analysis:
BasicAliasAnalysis.cpp updated: 1.107 -> 1.108
---
Log message:
Make use of ConstantInt::isZero instead of ConstantInt::isNullValue.
---
Diffs of the changes: (+1 -1)
BasicAliasAnalysis.cpp |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Changes in directory llvm/lib/Transforms/Scalar:
PredicateSimplifier.cpp updated: 1.67 -> 1.68
---
Log message:
Make the operations of APInt variables more efficient.
---
Diffs of the changes: (+21 -27)
PredicateSimplifier.cpp | 48 +---
1 file
Changes in directory llvm/lib/Support:
ConstantRange.cpp updated: 1.43 -> 1.44
---
Log message:
Make the apint construction more effective.
---
Diffs of the changes: (+3 -3)
ConstantRange.cpp |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/Support/Constant
Changes in directory llvm/lib/Analysis:
ScalarEvolution.cpp updated: 1.108 -> 1.109
---
Log message:
Eliminate unnecessary APInt construction.
---
Diffs of the changes: (+7 -8)
ScalarEvolution.cpp | 15 +++
1 files changed, 7 insertions(+), 8 deletions(-)
Index: llvm/lib/An
Changes in directory llvm/lib/Analysis:
ScalarEvolution.cpp updated: 1.107 -> 1.108
---
Log message:
Make APInt variables do the computation stuffs instead of
ConstantExpr::getXX if possible.
---
Diffs of the changes: (+11 -14)
ScalarEvolution.cpp | 25 +++--
1 files
Changes in directory llvm/lib/Analysis:
ScalarEvolution.cpp updated: 1.106 -> 1.107
---
Log message:
Eliminate unnecessary zext/trunc stuffs.
---
Diffs of the changes: (+10 -14)
ScalarEvolution.cpp | 24 ++--
1 files changed, 10 insertions(+), 14 deletions(-)
Index:
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.722 -> 1.723
---
Log message:
1. Make use of APInt operation instead of using ConstantExpr::getXXX.
2. Use cheaper APInt methods.
---
Diffs of the changes: (+19 -26)
InstructionCombining.cpp | 45 +++
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.721 -> 1.722
---
Log message:
Use uint32_t for bitwidth instead of unsigned.
---
Diffs of the changes: (+29 -29)
InstructionCombining.cpp | 58 +++
1 files cha
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.716 -> 1.717
---
Log message:
Avoid unnecessary APInt construction.
---
Diffs of the changes: (+17 -18)
InstructionCombining.cpp | 35 +--
1 files changed, 17 insertions(+
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.59 -> 1.60
---
Log message:
Remove unused methods.
---
Diffs of the changes: (+0 -18)
APInt.h | 18 --
1 files changed, 18 deletions(-)
Index: llvm/include/llvm/ADT/APInt.h
diff -u llvm/include/llvm/ADT/APIn
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.713 -> 1.714
---
Log message:
Delete dead code.
---
Diffs of the changes: (+0 -1)
InstructionCombining.cpp |1 -
1 files changed, 1 deletion(-)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.712 -> 1.713
---
Log message:
Use APInt operators to calculate the carry bits, remove this loop.
---
Diffs of the changes: (+2 -16)
InstructionCombining.cpp | 18 ++
1 files changed, 2 in
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.711 -> 1.712
---
Log message:
Make sure the use of ConstantInt::getZExtValue() for shift amount safe.
---
Diffs of the changes: (+20 -18)
InstructionCombining.cpp | 38 ---
Changes in directory llvm/include/llvm:
Constants.h updated: 1.142 -> 1.143
---
Log message:
Make sure this method just return value equal or less than Limit.
---
Diffs of the changes: (+2 -1)
Constants.h |3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/include/llv
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.710 -> 1.711
---
Log message:
1. Make sure the use of ConstantInt::getZExtValue() for getting shift
amount is safe.
2. Use new method on ConstantInt instead of (? :) operator.
3. Use new method uge() on Cons
在 2007-03-29四的 23:20 -0700,Reid Spencer写道:
> On Thu, 2007-03-29 at 23:08 -0700, Chris Lattner wrote:
> > On Mar 28, 2007, at 6:57 PM, Zhou Sheng wrote:
> >
> > > @@ -540,8 +540,10 @@
> > >if (I->getOpcode() == Instruction::Shl)
> > >
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.709 -> 1.710
---
Log message:
Use APInt operation instead of ConstantExpr::getXX.
---
Diffs of the changes: (+6 -6)
InstructionCombining.cpp | 12 ++--
1 files changed, 6 insertions(+), 6 deletio
Changes in directory llvm/include/llvm:
Constants.h updated: 1.141 -> 1.142
---
Log message:
Rename and correct the method "greaterOrEqual".
---
Diffs of the changes: (+2 -2)
Constants.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/include/llvm/Constants.h
di
在 2007-03-29四的 21:02 -0700,Chris Lattner写道:
> > + /// This function will return true iff this constant represents
> > a value with
> > + /// active bits bigger than 64 bits or a value greater than the
> > given uint64_t
> > + /// value.
> > + /// @returns true iff this constant is greater o
Changes in directory llvm/include/llvm:
Constants.h updated: 1.140 -> 1.141
---
Log message:
Add two utility methods into ConstantInt.
---
Diffs of the changes: (+16 -0)
Constants.h | 16
1 files changed, 16 insertions(+)
Index: llvm/include/llvm/Constants.h
diff -u ll
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.708 -> 1.709
---
Log message:
1. Make more use of APInt::getHighBitsSet/getLowBitsSet.
2. Let APInt variable do the binary operation stuff instead of using
ConstantExpr::getXXX.
---
Diffs of the changes:
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.707 -> 1.708
---
Log message:
Clean up some codes in InstCombiner::SimplifyDemandedBits().
---
Diffs of the changes: (+6 -12)
InstructionCombining.cpp | 18 ++
1 files changed, 6 insertio
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.706 -> 1.707
---
Log message:
Clean up codes in InstCombiner::SimplifyDemandedBits():
1. Line out nested call of APInt::zext/trunc.
2. Make more use of APInt::getHighBitsSet/getLowBitsSet.
3. Use APInt[] operat
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.705 -> 1.706
---
Log message:
1. Make the APInt variable do the binary operation stuff if possible
instead of using ConstantExpr::getXX.
2. Use constant reference to APInt if possible instead of expensive
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.704 -> 1.705
---
Log message:
Avoid unnecessary APInt construction.
---
Diffs of the changes: (+2 -3)
InstructionCombining.cpp |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Index: llvm/l
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.703 -> 1.704
---
Log message:
1. Make more use of getLowBitsSet/getHighBitsSet.
2. Use APInt[] instead of "X & SignBit".
3. Clean up some codes.
4. Make the expression like "ShiftAmt = ShiftAmtC->getZExtValue()
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.702 -> 1.703
---
Log message:
1. Make more use of getLowBitsSet/getHighBitsSet.
2. Make the APInt value do the zext/trunc stuff instead of using
ConstantExpr::getZExt().
---
Diffs of the changes: (+3 -5)
在 2007-03-27二的 22:17 -0700,Reid Spencer写道:
> Sheng,
>
> A correction to my last email ..
>
> On Tue, 2007-03-27 at 22:13 -0700, Reid Spencer wrote:
> > > // If the sign bit of the input is known set or clear, then we know
> > > the
> > > // top bits of the result.
> > > -APInt InS
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.701 -> 1.702
---
Log message:
Use UnknownBIts[BitWidth-1] instead of UnknownBIts & SignBits.
---
Diffs of the changes: (+1 -1)
InstructionCombining.cpp |2 +-
1 files changed, 1 insertion(+), 1 deletio
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.700 -> 1.701
---
Log message:
Remove unused APInt variable.
---
Diffs of the changes: (+0 -3)
InstructionCombining.cpp |3 ---
1 files changed, 3 deletions(-)
Index: llvm/lib/Transforms/Scalar/Instru
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.699 -> 1.700
---
Log message:
Clean up codes in ComputeMaskedBits():
1. Line out nested use of zext/trunc.
2. Make more use of getHighBitsSet/getLowBitsSet.
3. Use APInt[] != 0 instead of "(APInt & SignBit) !=
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.686 -> 1.687
---
Log message:
1. Avoid unnecessary APInt construction if possible.
2. Use isStrictlyPositive() instead of isPositive() in two places where
they need APInt value > 0 not only >=0.
---
Diffs
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.682 -> 1.683
---
Log message:
Make some codes more efficient.
---
Diffs of the changes: (+17 -15)
InstructionCombining.cpp | 32 +---
1 files changed, 17 insertions(+), 15 del
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.676 -> 1.677
---
Log message:
Make the "KnownZero ^ TypeMask" computation just once.
---
Diffs of the changes: (+4 -3)
InstructionCombining.cpp |7 ---
1 files changed, 4 insertions(+), 3 deletions
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.675 -> 1.676
---
Log message:
Simplify the code.
---
Diffs of the changes: (+1 -1)
InstructionCombining.cpp |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/Scalar/Ins
Changes in directory llvm/lib/Support:
APInt.cpp updated: 1.74 -> 1.75
---
Log message:
Fix a bug in getAllOnesValue() which broke
some test cases for bitwidth > 64.
---
Diffs of the changes: (+1 -1)
APInt.cpp |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Supp
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.669 -> 1.670
---
Log message:
Simplify isHighOnes().
---
Diffs of the changes: (+1 -9)
InstructionCombining.cpp | 10 +-
1 files changed, 1 insertion(+), 9 deletions(-)
Index: llvm/lib/Transfor
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.44 -> 1.45
---
Log message:
Correct the name: isStrictPositive --> isStrictlyPositive.
---
Diffs of the changes: (+1 -1)
APInt.h |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/ADT/APInt.h
d
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.42 -> 1.43
---
Log message:
Add isStrictPositive() to APInt to determine if this APInt Value > 0.
---
Diffs of the changes: (+6 -0)
APInt.h |6 ++
1 files changed, 6 insertions(+)
Index: llvm/include/llvm/ADT/APInt.h
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.660 -> 1.661
---
Log message:
ShiftAmt might equal to zero. Handle this situation.
---
Diffs of the changes: (+9 -7)
InstructionCombining.cpp | 16 +---
1 files changed, 9 insertions(+), 7 de
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.659 -> 1.660
---
Log message:
Enable KnownZero/One.clear().
---
Diffs of the changes: (+2 -2)
InstructionCombining.cpp |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Transf
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.657 -> 1.658
---
Log message:
For expression like
"APInt::getAllOnesValue(ShiftAmt).zextOrCopy(BitWidth)",
to handle ShiftAmt == BitWidth situation, use zextOrCopy() instead of
zext().
---
Diffs of the chan
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.41 -> 1.42
---
Log message:
Add zextOrCopy() into APInt for convenience.
---
Diffs of the changes: (+9 -0)
APInt.h |9 +
1 files changed, 9 insertions(+)
Index: llvm/include/llvm/ADT/APInt.h
diff -u llvm/include/l
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.656 -> 1.657
---
Log message:
In APInt version ComputeMaskedBits():
1. Ensure VTy, KnownOne and KnownZero have same bitwidth.
2. Make code more efficient.
---
Diffs of the changes: (+28 -15)
Instructio
Changes in directory llvm/lib/Support:
APInt.cpp updated: 1.69 -> 1.70
---
Log message:
For APInt::z/sext(width), if width == BitWidth, just return *this.
---
Diffs of the changes: (+4 -0)
APInt.cpp |4
1 files changed, 4 insertions(+)
Index: llvm/lib/Support/APInt.cpp
diff -u l
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.653 -> 1.654
---
Log message:
Avoid to assert on "(KnownZero & KnownOne) == 0".
---
Diffs of the changes: (+1 -1)
InstructionCombining.cpp |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index:
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.652 -> 1.653
---
Log message:
In function ComputeMaskedBits():
1. Replace getSignedMinValue() with getSignBit() for better code readability.
2. Replace APIntOps::shl() with operator<<= for convenience.
3.
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.40 -> 1.41
---
Log message:
Add getSignBit() and operator<<= into APInt for convenience.
---
Diffs of the changes: (+23 -0)
APInt.h | 23 +++
1 files changed, 23 insertions(+)
Index: llvm/include/llvm/AD
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.651 -> 1.652
---
Log message:
Fix a bug in function ComputeMaskedBits().
---
Diffs of the changes: (+2 -2)
InstructionCombining.cpp |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: ll
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.650 -> 1.651
---
Log message:
Fix a bug in APIntified ComputeMaskedBits().
---
Diffs of the changes: (+4 -8)
InstructionCombining.cpp | 12
1 files changed, 4 insertions(+), 8 deletions(-)
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.39 -> 1.40
---
Log message:
Correct the calculation in APInt::logBase2().
---
Diffs of the changes: (+1 -1)
APInt.h |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/ADT/APInt.h
diff -u llvm/i
Changes in directory llvm/lib/Support:
APInt.cpp updated: 1.10 -> 1.11
---
Log message:
Fix some buges:
1. Make getMinValue() returns the right value.
2. Fix the ByteSwap() crash problem.
3. Make Postfix increment work correctly.
4. Fix some bugs in LogBase2, Hi/LoBits and UDiv.
---
Diffs of
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.8 -> 1.9
---
Log message:
Fix some buges:
1. Make getMinValue() returns the right value.
2. Fix the ByteSwap() crash problem.
3. Make Postfix increment work correctly.
4. Fix some bugs in LogBase2, Hi/LoBits and UDiv.
---
Diffs of
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt:
arith.cpp updated: 1.6 -> 1.7
---
Log message:
Fix some errors.
---
Diffs of the changes: (+4 -5)
arith.cpp |9 -
1 files changed, 4 insertions(+), 5 deletions(-)
Index: llvm-test/SingleSource/UnitTests/Inte
Changes in directory llvm/lib/Support:
APInt.cpp updated: 1.7 -> 1.8
---
Log message:
1. Make APInt::shl work correctly and more efficiently.
2. Add functions to support the numberical conversion between APInt and
double/float.
---
Diffs of the changes: (+78 -10)
APInt.cpp | 88 ++
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.6 -> 1.7
---
Log message:
1. Make APInt::shl work correctly and more efficiently.
2. Add functions to support the numberical conversion between APInt and
double/float.
---
Diffs of the changes: (+24 -0)
APInt.h | 24 ++
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt:
arith.cpp updated: 1.2 -> 1.3
bigint.cpp updated: 1.2 -> 1.3
sign.cpp updated: 1.2 -> 1.3
---
Log message:
Updates these test cases as APInt class modifed.
---
Diffs of the changes: (+19 -16)
arith.cpp |8
b
Changes in directory llvm/lib/Support:
APInt.cpp updated: 1.6 -> 1.7
---
Log message:
Eliminates friend function declaration inside APInt, instead, adds public
methods as those global function's internal implementation.
---
Diffs of the changes: (+23 -23)
APInt.cpp | 46 +
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.5 -> 1.6
---
Log message:
Eliminates friend function declaration inside APInt, instead, adds public
methods as those global function's internal implementation.
---
Diffs of the changes: (+103 -43)
APInt.h | 146 +++
Changes in directory llvm/lib/Support:
APInt.cpp updated: 1.5 -> 1.6
---
Log message:
Switched this file on accidently.
---
Diffs of the changes: (+1 -1)
APInt.cpp |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Support/APInt.cpp
diff -u llvm/lib/Support/APInt.c
Changes in directory llvm/lib/Support:
APInt.cpp updated: 1.4 -> 1.5
---
Log message:
As Chris and Reid suggested, remove "isSigned" field from APInt, instead,
add some signed/unsigned arithmetic operation functions into APInt.h to
handle the signed/unsigned issue. These functions will be defin
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.4 -> 1.5
---
Log message:
As Chris and Reid suggested, remove "isSigned" field from APInt, instead,
add some signed/unsigned arithmetic operation functions into APInt.h to
handle the signed/unsigned issue. These functions will be de
Changes in directory llvm/lib/Support:
APInt.cpp updated: 1.3 -> 1.4
---
Log message:
As Chris suggested, fixed some problems. (This is the first part)
---
Diffs of the changes: (+157 -147)
APInt.cpp | 304 --
1 files changed, 15
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.2 -> 1.3
---
Log message:
As Chris suggested, fixed some problems. (This is the first part.)
---
Diffs of the changes: (+47 -21)
APInt.h | 68
1 files changed,
Changes in directory llvm/lib/Support:
APInt.cpp updated: 1.2 -> 1.3
---
Log message:
As Reid suggested, fixed some problems.
---
Diffs of the changes: (+143 -150)
APInt.cpp | 293 ++
1 files changed, 143 insertions(+), 150 delet
1 - 100 of 147 matches
Mail list logo