[llvm-commits] [llvm] r41758 - in /llvm/trunk: include/llvm/ADT/ include/llvm/Target/ lib/Analysis/ lib/CodeGen/ lib/CodeGen/SelectionDAG/ lib/System/Unix/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target

2007-09-06 Thread Owen Anderson
Author: resistor Date: Thu Sep 6 23:06:50 2007 New Revision: 41758 URL: http://llvm.org/viewvc/llvm-project?rev=41758&view=rev Log: Add lengthof and endof templates that hide a lot of sizeof computations. Patch by Sterling Stein! Modified: llvm/trunk/include/llvm/ADT/STLExtras.h llvm/tru

[llvm-commits] [llvm] r41759 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/volatile_store.ll

2007-09-06 Thread Chris Lattner
Author: lattner Date: Fri Sep 7 00:33:03 2007 New Revision: 41759 URL: http://llvm.org/viewvc/llvm-project?rev=41759&view=rev Log: Don't zap back to back volatile load/stores Added: llvm/trunk/test/Transforms/InstCombine/volatile_store.ll Modified: llvm/trunk/lib/Transforms/Scalar/Inst

Re: [llvm-commits] [llvm-gcc-4.2] r41750 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-09-06 Thread Dale Johannesen
On Sep 6, 2007, at 12:54 PM, Duncan Sands wrote: > Hi Dale, > >> + return ConstantFP::get(Ty, Ty==Type::FloatTy ? APFloat((float)V) >> + : APFloat(V)); > > what does having the conversion to float do here? > > Thanks, > > Duncan. There is a type in

Re: [llvm-commits] [llvm-gcc-4.2] r41750 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-09-06 Thread Duncan Sands
Hi Dale, > + return ConstantFP::get(Ty, Ty==Type::FloatTy ? APFloat((float)V) > + : APFloat(V)); what does having the conversion to float do here? Thanks, Duncan. ___ llvm-commits mailing list llvm-commit

[llvm-commits] [llvm] r41751 - in /llvm/trunk: include/llvm/CodeGen/LiveInterval.h lib/CodeGen/LiveInterval.cpp

2007-09-06 Thread David Greene
Author: greened Date: Thu Sep 6 14:46:46 2007 New Revision: 41751 URL: http://llvm.org/viewvc/llvm-project?rev=41751&view=rev Log: Constify to catch bugs. Modified: llvm/trunk/include/llvm/CodeGen/LiveInterval.h llvm/trunk/lib/CodeGen/LiveInterval.cpp Modified: llvm/trunk/include/

[llvm-commits] [llvm-gcc-4.2] r41750 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-09-06 Thread Dale Johannesen
Author: johannes Date: Thu Sep 6 14:37:21 2007 New Revision: 41750 URL: http://llvm.org/viewvc/llvm-project?rev=41750&view=rev Log: Use APFloat interface to ConstantFP. Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp URL: http://llvm.org/

Re: [llvm-commits] [llvm-gcc-4.0] r41749 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2007-09-06 Thread Dale Johannesen
On Sep 6, 2007, at 12:22 PM, Anton Korobeynikov wrote: > Dale, > >> Modified: >> llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp > What's for 4.2? It's coming, I didn't have a checkout. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.c

Re: [llvm-commits] [llvm-gcc-4.0] r41749 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2007-09-06 Thread Anton Korobeynikov
Dale, > Modified: > llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp What's for 4.2? -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu h

[llvm-commits] [llvm-gcc-4.0] r41749 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2007-09-06 Thread Dale Johannesen
Author: johannes Date: Thu Sep 6 14:04:28 2007 New Revision: 41749 URL: http://llvm.org/viewvc/llvm-project?rev=41749&view=rev Log: Use APFloat interface for ConstantFP. Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp URL: http://llvm.or

[llvm-commits] [llvm-gcc-4.0] r41748 - in /llvm-gcc-4.0/trunk/gcc: llvm-backend.cpp llvm-convert.cpp llvm-internal.h

2007-09-06 Thread Devang Patel
Author: dpatel Date: Thu Sep 6 14:00:20 2007 New Revision: 41748 URL: http://llvm.org/viewvc/llvm-project?rev=41748&view=rev Log: Replace GV from AttributeUsedGlobals list. Modified: llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp llvm-gcc-4.0/trunk/gc

[llvm-commits] build fix

2007-09-06 Thread Robert Staudinger
Hello, here's a one-liner that fixes the cfe build for me after today's "svn up". Cheers, Rob Index: Makefile === --- Makefile (revision 41741) +++ Makefile (working copy) @@ -1,5 +1,5 @@ LEVEL = ../.. -DIRS := Basic Lex Parse AST S

[llvm-commits] [llvm] r41746 - in /llvm/trunk: lib/CodeGen/AsmPrinter.cpp test/CodeGen/X86/2007-09-06-ExtWeakAliasee.ll

2007-09-06 Thread Anton Korobeynikov
Author: asl Date: Thu Sep 6 12:21:48 2007 New Revision: 41746 URL: http://llvm.org/viewvc/llvm-project?rev=41746&view=rev Log: Proper handle case, when aliasee is external weak symbol referenced only by alias itself. Also, fix a case, when target doesn't have weak symbols supported. Added:

[llvm-commits] BrainF compiler

2007-09-06 Thread S3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is a new BrainF compiler to replace the old one. It uses the C++ API so it will generate code in the proper format. It consolidates similar commands (blocks of ('+' and '-') and ('<' and '>')). It has an option for array bounds checking. It requ

[llvm-commits] [llvm] r41744 - /llvm/trunk/lib/CodeGen/VirtRegMap.cpp

2007-09-06 Thread David Greene
Author: greened Date: Thu Sep 6 11:36:39 2007 New Revision: 41744 URL: http://llvm.org/viewvc/llvm-project?rev=41744&view=rev Log: Add instruction dump output. This helps find bugs. Modified: llvm/trunk/lib/CodeGen/VirtRegMap.cpp Modified: llvm/trunk/lib/CodeGen/VirtRegMap.cpp URL: h

[llvm-commits] [llvm] r41743 - in /llvm/trunk: include/llvm/CodeGen/LinkAllCodegenComponents.h include/llvm/CodeGen/Passes.h include/llvm/CodeGen/RegisterCoalescer.h include/llvm/CodeGen/SimpleRegiste

2007-09-06 Thread David Greene
Author: greened Date: Thu Sep 6 11:18:45 2007 New Revision: 41743 URL: http://llvm.org/viewvc/llvm-project?rev=41743&view=rev Log: Pluggable coalescers inplementation. Added: llvm/trunk/include/llvm/CodeGen/RegisterCoalescer.h (with props) llvm/trunk/lib/CodeGen/RegisterCoalescer.c

Re: [llvm-commits] [llvm-gcc-4.2] r41738 - in /llvm-gcc-4.2/trunk/gcc: llvm-backend.cpp llvm-convert.cpp llvm-internal.h

2007-09-06 Thread Devang Patel
On Sep 5, 2007, at 11:41 PM, Anton Korobeynikov wrote: > Hello, Devang. > >> Replace GV from AttributeUsedGlobals list. > This makes libojc compilable with llvm-gcc 4.2. Cool. > Shouldn't same patch be > applied to 4.0 also? Do we see this error in 4.0 or we're just lucky ? I'll prepare a pat

Re: [llvm-commits] [llvm] r41740 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2007-09-05-EqualGEP.ll

2007-09-06 Thread Chris Lattner
On Sep 5, 2007, at 7:40 PM, Nick Lewycky wrote: > Chris Lattner wrote: >> On Sep 5, 2007, at 6:10 PM, Nick Lewycky wrote: >> >>> Author: nicholas >>> Date: Wed Sep 5 20:10:22 2007 >>> New Revision: 41740 >>> >>> URL: http://llvm.org/viewvc/llvm-project?rev=41740&view=rev >>> Log: >>> When the tw