[llvm-commits] CVS: llvm/include/llvm/CodeGen/ValueTypes.h ValueTypes.td

2007-04-01 Thread Reid Spencer
Changes in directory llvm/include/llvm/CodeGen: ValueTypes.h updated: 1.31 - 1.32 ValueTypes.td updated: 1.3 - 1.4 --- Log message: For PR1297: http://llvm.org/PR1297 : Add an iAny ValueType as a place holder for an integer type of any bit width. This is used for intrinsics overloading on

[llvm-commits] CVS: llvm/utils/TableGen/CodeGenIntrinsics.h CodeGenTarget.cpp IntrinsicEmitter.cpp

2007-04-01 Thread Reid Spencer
Changes in directory llvm/utils/TableGen: CodeGenIntrinsics.h updated: 1.11 - 1.12 CodeGenTarget.cpp updated: 1.87 - 1.88 IntrinsicEmitter.cpp updated: 1.29 - 1.30 --- Log message: For PR1297: http://llvm.org/PR1297 : Implement code generation for overloaded intrinsic functions. The basic

[llvm-commits] CVS: llvm/lib/VMCore/Verifier.cpp

2007-04-01 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Verifier.cpp updated: 1.197 - 1.198 --- Log message: For PR1297: http://llvm.org/PR1297 : 1. Clear up confusion between GotBits and ExpectBits. GotBits is the type actually provided. ExpectedBits is the type expected for the intrinsics. Before this

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-04-01 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.114 - 1.115 --- Log message: For PR1297: http://llvm.org/PR1297 : Implement actual argument types for the Intrinsic member functions. This involves changing the getName, getType, and getDeclaration methods to have optional

[llvm-commits] CVS: llvm/include/llvm/Intrinsics.h

2007-04-01 Thread Reid Spencer
Changes in directory llvm/include/llvm: Intrinsics.h updated: 1.41 - 1.42 --- Log message: For PR1297: http://llvm.org/PR1297 : Change the interface to the getName, getType, getDeclaration methods to include the actual types of the result/arguments. This is necessary to support overloaded

[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h

2007-04-01 Thread Reid Spencer
Changes in directory llvm/include/llvm/CodeGen: SelectionDAGNodes.h updated: 1.182 - 1.183 --- Log message: For PR1297: http://llvm.org/PR1297 : Intrinsic functions might need to be generated (if they are overloaded) so returning a const char* is no longer possible. Change getOperationName to

[llvm-commits] CVS: llvm/include/llvm/Intrinsics.td

2007-04-01 Thread Reid Spencer
Changes in directory llvm/include/llvm: Intrinsics.td updated: 1.51 - 1.52 --- Log message: For PR1297: http://llvm.org/PR1297 : Implement bswap, ctpop, ctlz, and cttz utilizing the new overloaded intrinsic feature of tblgen. By defining llvm_int_ty to have an ValueType of iAny, any intrinsic

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

2007-04-01 Thread Reid Spencer
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAG.cpp updated: 1.394 - 1.395 --- Log message: For PR1297: http://llvm.org/PR1297 : Change getOperationName to return std::string instead of const char* --- Diffs of the changes: (+1 -1) SelectionDAG.cpp |2 +- 1 files

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

2007-04-01 Thread Reid Spencer
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.400 - 1.401 --- Log message: For PR1297: http://llvm.org/PR1297 : Adjust for changes in the bit counting intrinsics. They all return i32 now so we have to trunc/zext the DAG node accordingly. --- Diffs of

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-04-01 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.715 - 1.716 --- Log message: For PR1297: http://llvm.org/PR1297 : Support overloaded intrinsics bswap, ctpop, cttz, ctlz. --- Diffs of the changes: (+7 -25) InstructionCombining.cpp | 32

[llvm-commits] CVS: llvm/lib/Analysis/ConstantFolding.cpp

2007-04-01 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ConstantFolding.cpp updated: 1.20 - 1.21 --- Log message: For PR1297: http://llvm.org/PR1297 : Support overloaded intrinsics bswap, ctpop, cttz, ctlz. --- Diffs of the changes: (+17 -23) ConstantFolding.cpp | 40

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll 2007-03-24-cntlzd.ll bswap-load-store.ll

2007-04-01 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/PowerPC: 2006-07-19-stwbrx-crash.ll updated: 1.2 - 1.3 2007-03-24-cntlzd.ll updated: 1.1 - 1.2 bswap-load-store.ll updated: 1.2 - 1.3 --- Log message: For PR1297: http://llvm.org/PR1297 : Update these test cases to use proper signatures for bswap which is

[llvm-commits] CVS: llvm/test/CodeGen/X86/bswap.ll

2007-04-01 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/X86: bswap.ll updated: 1.3 - 1.4 --- Log message: For PR1297: http://llvm.org/PR1297 : Update these test cases to use proper signatures for bswap which is now and overloaded intrinsic. Its name must be of the form llvm.bswap.i32.i32 since both the

[llvm-commits] CVS: llvm/test/Feature/intrinsics.ll

2007-04-01 Thread Reid Spencer
Changes in directory llvm/test/Feature: intrinsics.ll updated: 1.13 - 1.14 --- Log message: For PR1297: http://llvm.org/PR1297 : Update these test cases to use proper signatures for bswap which is now and overloaded intrinsic. Its name must be of the form llvm.bswap.i32.i32 since both the

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/bswap-fold.ll

2007-04-01 Thread Reid Spencer
Changes in directory llvm/test/Transforms/InstCombine: bswap-fold.ll updated: 1.2 - 1.3 --- Log message: For PR1297: http://llvm.org/PR1297 : Update these test cases to use proper signatures for bswap which is now and overloaded intrinsic. Its name must be of the form llvm.bswap.i32.i32 since

[llvm-commits] CVS: llvm-www/DevMtgMay2007.html

2007-04-01 Thread Reid Spencer
Changes in directory llvm-www: DevMtgMay2007.html updated: 1.18 - 1.19 --- Log message: Change Owen's affiliation. --- Diffs of the changes: (+2 -2) DevMtgMay2007.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-www/DevMtgMay2007.html diff -u

[llvm-commits] CVS: llvm/docs/ExtendingLLVM.html

2007-04-01 Thread Reid Spencer
Changes in directory llvm/docs: ExtendingLLVM.html updated: 1.27 - 1.28 --- Log message: Mention how to create overloaded intrinsics. --- Diffs of the changes: (+5 -2) ExtendingLLVM.html |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) Index: llvm/docs/ExtendingLLVM.html

[llvm-commits] CVS: llvm/docs/LangRef.html

2007-04-01 Thread Reid Spencer
Changes in directory llvm/docs: LangRef.html updated: 1.219 - 1.220 --- Log message: For PR1297: http://llvm.org/PR1297 : Document changes to bswap and bit counting intrinsics. bswap's name now requires two types in the suffix per overloaded intrinsic naming rules. The ctpop, cttz, and ctlz

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelLowering.cpp

2007-04-01 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMISelLowering.cpp updated: 1.33 - 1.34 --- Log message: Add i16 address mode. --- Diffs of the changes: (+7 -2) ARMISelLowering.cpp |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) Index:

[llvm-commits] CVS: llvm/docs/LangRef.html

2007-04-01 Thread Reid Spencer
Changes in directory llvm/docs: LangRef.html updated: 1.220 - 1.221 --- Log message: For PR1297: http://llvm.org/PR1297 : Preview documentation for the llvm.bit.concat intrinsic (yet to be implemented). --- Diffs of the changes: (+47 -1) LangRef.html | 48

[llvm-commits] Patch for llvm-gcc for PR1297 (please apply)

2007-04-01 Thread Reid Spencer
Hi, Please apply the attached patch to llvm-gcc. This is needed to make llvm-gcc generate overloaded intrinsic functions correctly. This is part of the PR1297 work. Thanks, Reid. Index: gcc/llvm-convert.cpp === ---

[llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h

2007-04-01 Thread Zhou Sheng
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-commits] CVS: llvm/test/CFrontend/2007-03-26-ZeroWidthBitfield.c

2007-04-01 Thread Duncan Sands
Changes in directory llvm/test/CFrontend: 2007-03-26-ZeroWidthBitfield.c added (r1.1) --- Log message: Testcase for the problem worked around in http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070319/046204.html --- Diffs of the changes: (+2 -0)

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-04-01 Thread Zhou Sheng
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

[llvm-commits] CVS: llvm-www/DevMtgMay2007.html

2007-04-01 Thread Reid Spencer
Changes in directory llvm-www: DevMtgMay2007.html updated: 1.19 - 1.20 --- Log message: Add Owen's suggestions for Session 4 issues and discussion topics. --- Diffs of the changes: (+19 -1) DevMtgMay2007.html | 20 +++- 1 files changed, 19 insertions(+), 1 deletion(-)

[llvm-commits] CVS: llvm/lib/Analysis/ConstantFolding.cpp

2007-04-01 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: ConstantFolding.cpp updated: 1.21 - 1.22 --- Log message: The bit counting intrinsics return i32 not the operand type. This fixes last night's regression in SingleSource/UnitTests/2005-05-11-Popcount-ffs-fls --- Diffs of the changes: (+3 -4)

[llvm-commits] CVS: llvm/win32/Transforms/Transforms.vcproj

2007-04-01 Thread Jeff Cohen
Changes in directory llvm/win32/Transforms: Transforms.vcproj updated: 1.25 - 1.26 --- Log message: Unbreak VC++ build. --- Diffs of the changes: (+3 -0) Transforms.vcproj |3 +++ 1 files changed, 3 insertions(+) Index: llvm/win32/Transforms/Transforms.vcproj diff -u

[llvm-commits] CVS: llvm/docs/LangRef.html

2007-04-01 Thread Reid Spencer
Changes in directory llvm/docs: LangRef.html updated: 1.221 - 1.222 --- Log message: Preview documentation for additional intrinsic functions. --- Diffs of the changes: (+343 -18) LangRef.html | 361 --- 1 files changed, 343

[llvm-commits] CVS: llvm/docs/GettingStarted.html

2007-04-01 Thread Chris Lattner
Changes in directory llvm/docs: GettingStarted.html updated: 1.156 - 1.157 --- Log message: gcc 3.4.4 is known-bad on x86-64 --- Diffs of the changes: (+3 -1) GettingStarted.html |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/docs/GettingStarted.html diff -u

[llvm-commits] [125595] Apply reid's patch for PR1297

2007-04-01 Thread clattner
Revision: 125595 Author: clattner Date: 2007-04-01 13:30:32 -0700 (Sun, 01 Apr 2007) Log Message: --- Apply reid's patch for PR1297 Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp apple-local/branches/llvm/gcc/llvm-internal.h Modified:

[llvm-commits] [125596] remove dead #undef

2007-04-01 Thread clattner
Revision: 125596 Author: clattner Date: 2007-04-01 13:33:33 -0700 (Sun, 01 Apr 2007) Log Message: --- remove dead #undef Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetAsmInfo.cpp

2007-04-01 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86TargetAsmInfo.cpp updated: 1.34 - 1.35 --- Log message: fix breakage from last night, simplify code. --- Diffs of the changes: (+6 -15) X86TargetAsmInfo.cpp | 21 ++--- 1 files changed, 6 insertions(+), 15 deletions(-)

Re: [llvm-commits] CVS: llvm/test/CodeGen/Generic/llvm-ct-intrinsics.ll

2007-04-01 Thread Chris Lattner
Likewise, llvm-upgrade should do this. Please revert this commit when safe. -Chris On Apr 1, 2007, at 12:36 AM, Reid Spencer wrote: Changes in directory llvm/test/CodeGen/Generic: llvm-ct-intrinsics.ll updated: 1.4 - 1.5 --- Log message: For PR1297: http://llvm.org/PR1297 : Update

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-04-01 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.717 - 1.718 --- Log message: simplify this code, make it work for ap ints --- Diffs of the changes: (+6 -17) InstructionCombining.cpp | 23 ++- 1 files changed, 6 insertions(+), 17

Re: [llvm-commits] CVS: llvm/lib/CodeGen/IntrinsicLowering.cpp

2007-04-01 Thread Chris Lattner
This is incorrect for the changes you made to the ctpop (etc) prototypes. They will assert in RAUW. -Chris On Apr 1, 2007, at 12:35 AM, Reid Spencer wrote: Changes in directory llvm/lib/CodeGen: IntrinsicLowering.cpp updated: 1.72 - 1.73 --- Log message: For PR1297:

[llvm-commits] CVS: llvm-www/DevMtgMay2007.html

2007-04-01 Thread Owen Anderson
Changes in directory llvm-www: DevMtgMay2007.html updated: 1.20 - 1.21 --- Log message: Reword some of my suggestions. --- Diffs of the changes: (+5 -6) DevMtgMay2007.html | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) Index: llvm-www/DevMtgMay2007.html diff -u

[llvm-commits] CVS: llvm-www/DevMtgMay2007.html

2007-04-01 Thread Owen Anderson
Changes in directory llvm-www: DevMtgMay2007.html updated: 1.21 - 1.22 --- Log message: Fix a some formatting. --- Diffs of the changes: (+10 -10) DevMtgMay2007.html | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) Index: llvm-www/DevMtgMay2007.html diff

[llvm-commits] [125597] Apply Anton's patch to improve sret handling.

2007-04-01 Thread clattner
Revision: 125597 Author: clattner Date: 2007-04-01 14:57:56 -0700 (Sun, 01 Apr 2007) Log Message: --- Apply Anton's patch to improve sret handling. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified:

Re: [llvm-commits] Correct handling of sret attribute - 2

2007-04-01 Thread Chris Lattner
Applied, thanks! Please commit the testcase, -Chris On Mar 30, 2007, at 4:26 PM, Anton Korobeynikov wrote: Hello, Everyone. Please ignore my prev. patch, it's definitely wrong. You might find attached new patch + testcase. -- With best regards, Anton Korobeynikov. Faculty of

[llvm-commits] CVS: llvm/test/CFrontend/sret.c

2007-04-01 Thread Anton Korobeynikov
Changes in directory llvm/test/CFrontend: sret.c added (r1.1) --- Log message: Add testcase for correct sret handling. --- Diffs of the changes: (+15 -0) sret.c | 15 +++ 1 files changed, 15 insertions(+) Index: llvm/test/CFrontend/sret.c diff -c /dev/null

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

2007-04-01 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: LoopStrengthReduce.cpp updated: 1.122 - 1.123 --- Log message: print the type of an inserted IV in -debug mode. --- Diffs of the changes: (+4 -3) LoopStrengthReduce.cpp |7 --- 1 files changed, 4 insertions(+), 3 deletions(-)

[llvm-commits] CVS: llvm/docs/LangRef.html

2007-04-01 Thread Reid Spencer
Changes in directory llvm/docs: LangRef.html updated: 1.222 - 1.223 --- Log message: Fix some bswap typos that Chris noticed. --- Diffs of the changes: (+3 -3) LangRef.html |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/docs/LangRef.html diff -u

[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeParser.y

2007-04-01 Thread Reid Spencer
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.74 - 1.75 --- Log message: Handle upgrade of llvm.bswap.iXX to llvm.bswap.iXX.iXX per new naming rules for overloaded intrinsic functions. --- Diffs of the changes: (+47 -30) UpgradeParser.y | 77

[llvm-commits] CVS: llvm/test/CodeGen/Generic/llvm-ct-intrinsics.ll

2007-04-01 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/Generic: llvm-ct-intrinsics.ll updated: 1.5 - 1.6 --- Log message: Revert the name changes for llvm.bswap to allow (and test) llvm-upgrade of this intrinsic. --- Diffs of the changes: (+33 -33) llvm-ct-intrinsics.ll | 66

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/bswap-fold.ll

2007-04-01 Thread Reid Spencer
Changes in directory llvm/test/Transforms/InstCombine: bswap-fold.ll updated: 1.3 - 1.4 --- Log message: Revert the name changes for llvm.bswap to allow (and test) llvm-upgrade of this intrinsic. --- Diffs of the changes: (+7 -7) bswap-fold.ll | 14 +++--- 1 files changed, 7

[llvm-commits] CVS: llvm/lib/CodeGen/IntrinsicLowering.cpp

2007-04-01 Thread Reid Spencer
Changes in directory llvm/lib/CodeGen: IntrinsicLowering.cpp updated: 1.73 - 1.74 --- Log message: For PR1297: http://llvm.org/PR1297 : Make sure that the CTPOP result is casted to i32 as the bit counting intrinsics all return i32 now (this affects CTLZ and CTTZ as well). --- Diffs of the

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll bswap-load-store.ll

2007-04-01 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/PowerPC: 2006-07-19-stwbrx-crash.ll updated: 1.3 - 1.4 bswap-load-store.ll updated: 1.3 - 1.4 --- Log message: Let llvm-upgrade upgrade bswap intrinsic. --- Diffs of the changes: (+8 -8) 2006-07-19-stwbrx-crash.ll |4 ++-- bswap-load-store.ll

[llvm-commits] CVS: llvm/test/CodeGen/X86/bswap.ll

2007-04-01 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/X86: bswap.ll updated: 1.4 - 1.5 --- Log message: Let llvm-upgrade upgrade the bswap intrinsic. --- Diffs of the changes: (+6 -6) bswap.ll | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) Index: llvm/test/CodeGen/X86/bswap.ll

[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeParser.y

2007-04-01 Thread Reid Spencer
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.75 - 1.76 --- Log message: Don't upgrade functions that look like a bswap intrinsic but aren't. --- Diffs of the changes: (+1 -1) UpgradeParser.y |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallPtrSet.h

2007-04-01 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallPtrSet.h updated: 1.9 - 1.10 --- Log message: add range version of insert() --- Diffs of the changes: (+7 -2) SmallPtrSet.h |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) Index: llvm/include/llvm/ADT/SmallPtrSet.h diff

[llvm-commits] CVS: llvm/test/CodeGen/ARM/tst_teq.ll

2007-04-01 Thread Lauro Ramos Venancio
Changes in directory llvm/test/CodeGen/ARM: tst_teq.ll added (r1.1) --- Log message: - Divides the comparisons in two types: comparisons that only use N and Z flags (ARMISD::CMPNZ) and comparisons that use all flags (ARMISD::CMP). - Defines the instructions: TST, TEQ (ARM) and TST (Thumb).

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelLowering.cpp ARMISelLowering.h ARMInstrInfo.td ARMInstrThumb.td

2007-04-01 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/Target/ARM: ARMISelLowering.cpp updated: 1.34 - 1.35 ARMISelLowering.h updated: 1.10 - 1.11 ARMInstrInfo.td updated: 1.94 - 1.95 ARMInstrThumb.td updated: 1.20 - 1.21 --- Log message: - Divides the comparisons in two types: comparisons that only use N and Z flags

[llvm-commits] CVS: llvm/test/CodeGen/Generic/phi-immediate-factoring.ll

2007-04-01 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/Generic: phi-immediate-factoring.ll added (r1.1) --- Log message: new testcase for PR1296: http://llvm.org/PR1296 --- Diffs of the changes: (+54 -0) phi-immediate-factoring.ll | 54 + 1 files changed, 54

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp

2007-04-01 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: CodeGenPrepare.cpp updated: 1.1 - 1.2 --- Log message: Various passes before isel split edges and do other CFG-restructuring changes. isel has its own particular features that it wants in the CFG, in order to reduce the number of times a

[llvm-commits] CVS: llvm/lib/Transforms/Utils/SimplifyCFG.cpp

2007-04-01 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: SimplifyCFG.cpp updated: 1.119 - 1.120 --- Log message: reduce use of std::set --- Diffs of the changes: (+7 -6) SimplifyCFG.cpp | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) Index:

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/bitcount.ll

2007-04-01 Thread Reid Spencer
Changes in directory llvm/test/Transforms/InstCombine: bitcount.ll added (r1.1) --- Log message: Add a test case to make sure that constant folding of the bit counting intrinsics works. --- Diffs of the changes: (+16 -0) bitcount.ll | 16 1 files changed, 16

[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeParser.y

2007-04-01 Thread Reid Spencer
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.76 - 1.77 --- Log message: Upgrade the bit count intrinsics to have an i32 result. --- Diffs of the changes: (+19 -0) UpgradeParser.y | 19 +++ 1 files changed, 19 insertions(+) Index:

Re: [llvm-commits] CVS: llvm/docs/LangRef.html

2007-04-01 Thread Chris Lattner
On Apr 1, 2007, at 5:20 PM, Reid Spencer wrote: p -The 'ttllvm.bwsap/tt' family of intrinsics is used to byteswap integer +The 'ttllvm.bwsap/tt' family of intrinsics is used to byte swap integer values with an even number of bytes (positive multiple of 16 bits). These are Typo

[llvm-commits] CVS: llvm/docs/LangRef.html

2007-04-01 Thread Reid Spencer
Changes in directory llvm/docs: LangRef.html updated: 1.223 - 1.224 --- Log message: bwsap - bswap --- Diffs of the changes: (+2 -2) LangRef.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.223

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/bitcount.ll

2007-04-01 Thread Reid Spencer
Changes in directory llvm/test/Transforms/InstCombine: bitcount.ll updated: 1.1 - 1.2 --- Log message: Fix illegal assembly syntax. --- Diffs of the changes: (+4 -4) bitcount.ll |8 1 files changed, 4 insertions(+), 4 deletions(-) Index:

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/branch-opt.ll

2007-04-01 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/PowerPC: branch-opt.ll updated: 1.6 - 1.7 --- Log message: my patch fixed the fixme. --- Diffs of the changes: (+1 -2) branch-opt.ll |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/test/CodeGen/PowerPC/branch-opt.ll diff -u

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/xor.ll

2007-04-01 Thread Chris Lattner
Changes in directory llvm/test/Transforms/InstCombine: xor.ll updated: 1.20 - 1.21 --- Log message: creative way to add one. --- Diffs of the changes: (+6 -0) xor.ll |6 ++ 1 files changed, 6 insertions(+) Index: llvm/test/Transforms/InstCombine/xor.ll diff -u

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-04-01 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.718 - 1.719 --- Log message: simplify (x+c)^signbit as (x+c+signbit), pointed out by PR1288: http://llvm.org/PR1288 . This implements test/Transforms/InstCombine/xor.ll:test28 --- Diffs of the changes:

[llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h

2007-04-01 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.60 - 1.61 --- Log message: add a helper function. --- Diffs of the changes: (+3 -0) APInt.h |3 +++ 1 files changed, 3 insertions(+) Index: llvm/include/llvm/ADT/APInt.h diff -u llvm/include/llvm/ADT/APInt.h:1.60

[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp

2007-04-01 Thread Chris Lattner
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.105 - 1.106 --- Log message: Treat xor of signbit like an add. --- Diffs of the changes: (+10 -1) ScalarEvolution.cpp | 11 ++- 1 files changed, 10 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-04-01 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.719 - 1.720 --- Log message: use more obvious function name. --- Diffs of the changes: (+1 -1) InstructionCombining.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-04-01 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.720 - 1.721 --- Log message: Wrap long line --- Diffs of the changes: (+3 -3) InstructionCombining.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index:

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/compare-simm.ll

2007-04-01 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/PowerPC: compare-simm.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+13 -0) compare-simm.ll | 13 + 1 files changed, 13 insertions(+) Index: llvm/test/CodeGen/PowerPC/compare-simm.ll diff -c /dev/null