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

2007-03-23 Thread Reid Spencer
Changes in directory llvm-www: InTheNews.html updated: 1.13 -> 1.14 --- Log message: Add a link to the FRESHports LLVM page. --- Diffs of the changes: (+2 -1) InTheNews.html |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm-www/InTheNews.html diff -u llvm-www/InTheN

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

2007-03-23 Thread Chris Lattner
> > Add an APInt version of SimplifyDemandedBits. > > Patch by Zhou Sheng. Commenting on the version from mainline, comments preceeded with ***'s: static void ComputeMaskedBits(Value *V, APInt Mask, APInt& KnownZero, *** Mask should be passed by const&. bool InstCombiner::SimplifyDemandedBits(

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

2007-03-23 Thread Reid Spencer
Changes in directory llvm-www: InTheNews.html updated: 1.12 -> 1.13 --- Log message: Add the Debian package page, remove the Debian testing page. --- Diffs of the changes: (+3 -3) InTheNews.html |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm-www/InTheNews.htm

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

2007-03-23 Thread Chris Lattner
On Mar 12, 2007, at 11:41 PM, Zhou Sheng wrote: > For expression like > "APInt::getAllOnesValue(ShiftAmt).zextOrCopy(BitWidth)", > to handle ShiftAmt == BitWidth situation, use zextOrCopy() instead of > zext(). In CVS head instcombine, this zextOrCopy method is only used in one place. Instead

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

2007-03-23 Thread Chris Lattner
ComputeMaskedBits had several iterations, here's a review of the one in CVS now. Comments preceeded by ***. static void ComputeMaskedBits(Value *V, APInt Mask, APInt& KnownZero, APInt& KnownOne, unsigned Depth = 0) { assert(V && "No Value?"); assert(Depth <

[llvm-commits] CVS: llvm/lib/Target/README.txt

2007-03-23 Thread Chris Lattner
Changes in directory llvm/lib/Target: README.txt updated: 1.58 -> 1.59 --- Log message: add a bad case evan though of. --- Diffs of the changes: (+32 -0) README.txt | 32 1 files changed, 32 insertions(+) Index: llvm/lib/Target/README.txt diff -u llvm/l

[llvm-commits] CVS: llvm-test/MultiSource/Applications/JM/lencod/cabac.c global.h loopFilter.c mbuffer.h md_high.c md_highfast.c md_highloss.c md_low.c me_epzs.c me_epzs.h me_fullfast.c me_umhex.c me_

2007-03-23 Thread Lauro Ramos Venancio
Changes in directory llvm-test/MultiSource/Applications/JM/lencod: cabac.c updated: 1.4 -> 1.5 global.h updated: 1.4 -> 1.5 loopFilter.c updated: 1.4 -> 1.5 mbuffer.h updated: 1.4 -> 1.5 md_high.c updated: 1.2 -> 1.3 md_highfast.c updated: 1.2 -> 1.3 md_highloss.c updated: 1.2 -> 1.3 md_low.c up

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

2007-03-23 Thread Reid Spencer
Changes in directory llvm-www: DevMtgMay2007.html updated: 1.1 -> 1.2 --- Log message: Shorten the summary section, clean up a link --- Diffs of the changes: (+15 -18) DevMtgMay2007.html | 33 +++-- 1 files changed, 15 insertions(+), 18 deletions(-) Index: l

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

2007-03-23 Thread Reid Spencer
Changes in directory llvm-www: DevMtgMay2007.html added (r1.1) --- Log message: Add a page to keep track of the May 2007 Developers Meeting. --- Diffs of the changes: (+65 -0) DevMtgMay2007.html | 65 + 1 files changed, 65 insertions(+)

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

2007-03-23 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.681 -> 1.682 --- Log message: For PR1205: http://llvm.org/PR1205 : Convert some calls to ConstantInt::getZExtValue() into getValue() and use APInt facilities in the subsequent computations. --- Diffs of the

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

2007-03-23 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.280 -> 1.281 --- Log message: Adjust offset to compensate for big endian machines. --- Diffs of the changes: (+5 -7) DAGCombiner.cpp | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) Index:

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

2007-03-23 Thread Reid Spencer
Changes in directory llvm-www: OpenProjects.html updated: 1.22 -> 1.23 --- Log message: Add a link to slow-compile bugs. --- Diffs of the changes: (+8 -4) OpenProjects.html | 12 1 files changed, 8 insertions(+), 4 deletions(-) Index: llvm-www/OpenProjects.html diff -u llv

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

2007-03-23 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/X86: X86Subtarget.cpp updated: 1.52 -> 1.53 --- Log message: Autodetect MMX & SSE stuff for AMD processors --- Diffs of the changes: (+11 -10) X86Subtarget.cpp | 21 +++-- 1 files changed, 11 insertions(+), 10 deletions(-) Index: llv

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

2007-03-23 Thread Bill Wendling
Changes in directory llvm/include/llvm: IntrinsicsX86.td updated: 1.38 -> 1.39 --- Log message: This is dead. DEAD I tells you!! --- Diffs of the changes: (+0 -3) IntrinsicsX86.td |3 --- 1 files changed, 3 deletions(-) Index: llvm/include/llvm/IntrinsicsX86.td diff -u llvm/include/l

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrMMX.td

2007-03-23 Thread Bill Wendling
Changes in directory llvm/lib/Target/X86: X86InstrMMX.td updated: 1.23 -> 1.24 --- Log message: PR1260: http://llvm.org/PR1260 : Add final support to get the QT example to compile. --- Diffs of the changes: (+6 -2) X86InstrMMX.td |8 ++-- 1 files changed, 6 insertions(+), 2 deletio

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

2007-03-23 Thread Bill Wendling
Changes in directory llvm/include/llvm: IntrinsicsX86.td updated: 1.37 -> 1.38 --- Log message: PR1260: http://llvm.org/PR1260 : Add final support to get the QT example to compile. --- Diffs of the changes: (+20 -4) IntrinsicsX86.td | 24 1 files changed, 20 inse

[llvm-commits] [125300] Add support for non-128-bit (MMX) builtin instructions.

2007-03-23 Thread bwendlin
Revision: 125300 Author: bwendlin Date: 2007-03-23 15:27:15 -0700 (Fri, 23 Mar 2007) Log Message: --- Add support for non-128-bit (MMX) builtin instructions. Modified Paths: -- apple-local/branches/llvm/gcc/config/i386/llvm-i386.cpp Modified: apple-local/branches/ll

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

2007-03-23 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.279 -> 1.280 --- Log message: Make sure SEXTLOAD of the specific type is supported on the target. --- Diffs of the changes: (+4 -0) DAGCombiner.cpp |4 1 files changed, 4 insertions(+) Index: llvm/lib/

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/APInt/elim-logicalops.ll shift-simplify.ll shift.ll

2007-03-23 Thread Reid Spencer
Changes in directory llvm/test/Transforms/InstCombine/APInt: elim-logicalops.ll added (r1.1) shift-simplify.ll added (r1.1) shift.ll added (r1.1) --- Log message: Add more test cases for APIntified InstCombine. --- Diffs of the changes: (+255 -0) elim-logicalops.ll | 40 +++ shif

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

2007-03-23 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.680 -> 1.681 --- Log message: For PR1205: http://llvm.org/PR1205 : * APIntify visitAdd and visitSelectInst * Remove unused uint64_t versions of utility functions that have been replaced with APInt versions.

Re: [llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineBasicBlock.h MachineConstantPool.h MachineInstrBuilder.h MachineJumpTableInfo.h MachineLocation.h SelectionDAGISel.h SelectionDAGNodes.h

2007-03-23 Thread Chris Lattner
On Mar 23, 2007, at 11:44 AM, Dan Gohman wrote: > Add the 'explicit' keyword to several constructors that accept one > argument that don't appear intended as implicit-conversion operators. Nice. How did you find these? Did you just inspect the code, or do you have a tool that finds them? -Chr

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

2007-03-23 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.278 -> 1.279 --- Log message: Also replace uses of SRL if that's also folded during ReduceLoadWidth(). --- Diffs of the changes: (+8 -1) DAGCombiner.cpp |9 - 1 files changed, 8 insertions(+), 1 delet

[llvm-commits] CVS: llvm-test/MultiSource/Applications/JM/ldecod/cabac.c global.h loopFilter.c macroblock.c mbuffer.h vlc.c vlc.h

2007-03-23 Thread Lauro Ramos Venancio
Changes in directory llvm-test/MultiSource/Applications/JM/ldecod: cabac.c updated: 1.4 -> 1.5 global.h updated: 1.6 -> 1.7 loopFilter.c updated: 1.4 -> 1.5 macroblock.c updated: 1.4 -> 1.5 mbuffer.h updated: 1.4 -> 1.5 vlc.c updated: 1.4 -> 1.5 vlc.h updated: 1.4 -> 1.5 --- Log message: "The C

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

2007-03-23 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.679 -> 1.680 --- Log message: For PR1205: http://llvm.org/PR1205 : APIntify visitDiv, visitMul and visitRem. Patch by Zhou Sheng. --- Diffs of the changes: (+22 -25) InstructionCombining.cpp | 47 ++

Re: [llvm-commits] CVS: llvm/test/Transforms/InstCombine/APInt/

2007-03-23 Thread Reid Spencer
On Fri, 2007-03-23 at 12:15 -0700, Devang Patel wrote: > Aha.. it is running all tests. In GCC test suite you can do ../ > dg.exp=zext.ll to run just zext.ll. > May be some dejagnu/tcl tk machinary is missing. I do not know what? No, nothing is missing, its just different. Each dg.exp file can "

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

2007-03-23 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.678 -> 1.679 --- Log message: switch AddReachableCodeToWorklist from being recursive to being iterative. --- Diffs of the changes: (+54 -46) InstructionCombining.cpp | 100 +---

Re: [llvm-commits] CVS: llvm/test/Transforms/InstCombine/APInt/

2007-03-23 Thread Devang Patel
On Mar 23, 2007, at 10:09 AM, Reid Spencer wrote: > On Fri, 2007-03-23 at 09:57 -0700, Devang Patel wrote: >> On Mar 23, 2007, at 9:32 AM, Reid Spencer wrote: >> >>> 2. To allow "make check TESTSUITE=test/Transforms/InstCombine/APInt" >>> to >>> just check >>>the APInt versions of these tests

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

2007-03-23 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.677 -> 1.678 --- Log message: For PR1205: http://llvm.org/PR1205 : APIntify several utility functions supporting logical operators and shift operators. Patch by Zhou Sheng. --- Diffs of the changes: (+39 -

[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineBasicBlock.h MachineConstantPool.h MachineInstrBuilder.h MachineJumpTableInfo.h MachineLocation.h SelectionDAGISel.h SelectionDAGNodes.h

2007-03-23 Thread Dan Gohman
Changes in directory llvm/include/llvm/CodeGen: MachineBasicBlock.h updated: 1.61 -> 1.62 MachineConstantPool.h updated: 1.25 -> 1.26 MachineInstrBuilder.h updated: 1.43 -> 1.44 MachineJumpTableInfo.h updated: 1.11 -> 1.12 MachineLocation.h updated: 1.3 -> 1.4 SelectionDAGISel.h updated: 1.33 ->

[llvm-commits] CVS: llvm/include/llvm/Argument.h BasicBlock.h Constants.h DerivedTypes.h Module.h PassAnalysisSupport.h PassManager.h PassManagers.h PassSupport.h Type.h

2007-03-23 Thread Dan Gohman
Changes in directory llvm/include/llvm: Argument.h updated: 1.13 -> 1.14 BasicBlock.h updated: 1.62 -> 1.63 Constants.h updated: 1.139 -> 1.140 DerivedTypes.h updated: 1.88 -> 1.89 Module.h updated: 1.84 -> 1.85 PassAnalysisSupport.h updated: 1.28 -> 1.29 PassManager.h updated: 1.38 -> 1.39 Pass

Re: [llvm-commits] CVS: llvm/test/Transforms/InstCombine/APInt/

2007-03-23 Thread Reid Spencer
On Fri, 2007-03-23 at 09:57 -0700, Devang Patel wrote: > On Mar 23, 2007, at 9:32 AM, Reid Spencer wrote: > > > 2. To allow "make check TESTSUITE=test/Transforms/InstCombine/APInt" > > to > > just check > >the APInt versions of these tests. > > How about > cd test && make RUNTESTFLAG

Re: [llvm-commits] CVS: llvm/test/Transforms/InstCombine/APInt/

2007-03-23 Thread Devang Patel
On Mar 23, 2007, at 9:32 AM, Reid Spencer wrote: > 2. To allow "make check TESTSUITE=test/Transforms/InstCombine/APInt" > to > just check >the APInt versions of these tests. How about cd test && make RUNTESTFLAGS="Transforms/InstCombine/dg.exp=*apint*" ? - Devang

Re: [llvm-commits] CVS: llvm/test/Transforms/InstCombine/APInt/

2007-03-23 Thread Reid Spencer
On Fri, 2007-03-23 at 09:22 -0700, Chris Lattner wrote: > On Mar 23, 2007, at 8:10 AM, LLVM wrote: > > > > > > > Changes in directory llvm/test/Transforms/InstCombine/APInt: > > > > --- > > Log message: > > > > Directory /var/cvs/llvm/llvm/test/Transforms/InstCombine/APInt > > added to the repos

Re: [llvm-commits] CVS: llvm/test/Transforms/InstCombine/APInt/

2007-03-23 Thread Chris Lattner
On Mar 23, 2007, at 8:10 AM, LLVM wrote: > > > Changes in directory llvm/test/Transforms/InstCombine/APInt: > > --- > Log message: > > Directory /var/cvs/llvm/llvm/test/Transforms/InstCombine/APInt > added to the repository > Hrm? Why a subdirectory? -Chris __

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/APInt/

2007-03-23 Thread LLVM
Changes in directory llvm/test/Transforms/InstCombine/APInt: --- Log message: Directory /var/cvs/llvm/llvm/test/Transforms/InstCombine/APInt added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing li

[llvm-commits] [125255] Add support for initializing the vector.

2007-03-23 Thread bwendlin
Revision: 125255 Author: bwendlin Date: 2007-03-23 01:09:17 -0700 (Fri, 23 Mar 2007) Log Message: --- Add support for initializing the vector. One thing which can be done is to convert a vector of constants into an constant value and then move that into the destination. This is what