[llvm-commits] [llvm] r45731 - /llvm/trunk/lib/Target/X86/X86JITInfo.cpp

2008-01-08 Thread Bill Wendling
Author: void Date: Mon Jan 7 18:52:29 2008 New Revision: 45731 URL: http://llvm.org/viewvc/llvm-project?rev=45731&view=rev Log: Silence warning about loss of precision. Modified: llvm/trunk/lib/Target/X86/X86JITInfo.cpp Modified: llvm/trunk/lib/Target/X86/X86JITInfo.cpp URL: http://llvm.or

[llvm-commits] [llvm] r45733 - /llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp

2008-01-08 Thread Evan Cheng
Author: evancheng Date: Mon Jan 7 20:06:11 2008 New Revision: 45733 URL: http://llvm.org/viewvc/llvm-project?rev=45733&view=rev Log: Fix a x86-64 static codegen bug. This fixes a lot of x86-64 jit failures. Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Modified: llvm/trunk/lib/Tar

[llvm-commits] [llvm] r45734 - /llvm/trunk/lib/Target/X86/X86TargetMachine.cpp

2008-01-08 Thread Evan Cheng
Author: evancheng Date: Mon Jan 7 20:07:10 2008 New Revision: 45734 URL: http://llvm.org/viewvc/llvm-project?rev=45734&view=rev Log: Minor fix to enable x86-64 pic jit (still fails for other reasons). Modified: llvm/trunk/lib/Target/X86/X86TargetMachine.cpp Modified: llvm/trunk/lib/Target/X

Re: [llvm-commits] [llvm] r45669 - in /llvm/trunk: include/llvm/CodeGen/AsmPrinter.h include/llvm/CodeGen/SelectionDAGISel.h lib/CodeGen/AsmPrinter.cpp lib/CodeGen/README.txt lib/CodeGen/SelectionDAG/

2008-01-08 Thread Gordon Henriksen
On 2008-01-07, at 13:59, Evan Cheng wrote: > I don't know much about the GC work. But it is really necessary for > AsmPrinter to use any analysis info? That seems odd to me. Hi Evan, Debug information has an analogue in the MachineModuleInfo pass, which you'll find is required from the targe

[llvm-commits] [llvm] r45736 - /llvm/trunk/tools/bugpoint/ExtractFunction.cpp

2008-01-08 Thread Chris Lattner
Author: lattner Date: Mon Jan 7 22:26:20 2008 New Revision: 45736 URL: http://llvm.org/viewvc/llvm-project?rev=45736&view=rev Log: Fix PR1797 Modified: llvm/trunk/tools/bugpoint/ExtractFunction.cpp Modified: llvm/trunk/tools/bugpoint/ExtractFunction.cpp URL: http://llvm.org/viewvc/llvm-pro

[llvm-commits] [llvm] r45738 - /llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp

2008-01-08 Thread Owen Anderson
Author: resistor Date: Mon Jan 7 23:16:15 2008 New Revision: 45738 URL: http://llvm.org/viewvc/llvm-project?rev=45738&view=rev Log: Actually insert copies now! Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp URL: http://ll

[llvm-commits] [llvm] r45739 - /llvm/trunk/test/CFrontend/2008-01-07-UnusualIntSize.c

2008-01-08 Thread Chris Lattner
Author: lattner Date: Mon Jan 7 23:16:29 2008 New Revision: 45739 URL: http://llvm.org/viewvc/llvm-project?rev=45739&view=rev Log: Testcase for PR1721 Added: llvm/trunk/test/CFrontend/2008-01-07-UnusualIntSize.c Added: llvm/trunk/test/CFrontend/2008-01-07-UnusualIntSize.c URL: http://llvm.

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

2008-01-08 Thread Chris Lattner
Author: lattner Date: Mon Jan 7 23:18:45 2008 New Revision: 45740 URL: http://llvm.org/viewvc/llvm-project?rev=45740&view=rev Log: Fix PR1721 with a minimal hack: if we see that we are codegen'ing something with a smaller precision than the llvm register for it, do the zext/sext explicitly in th

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

2008-01-08 Thread Chris Lattner
Author: lattner Date: Mon Jan 7 22:59:40 2008 New Revision: 45737 URL: http://llvm.org/viewvc/llvm-project?rev=45737&view=rev Log: Fix PR1721 with a minimal hack: if we see that we are codegen'ing something with a smaller precision than the llvm register for it, do the zext/sext explicitly in th

[llvm-commits] [llvm-gcc-4.2] r45741 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-08 Thread Bill Wendling
Author: void Date: Tue Jan 8 00:08:04 2008 New Revision: 45741 URL: http://llvm.org/viewvc/llvm-project?rev=45741&view=rev Log: Make the metaclass and some other metadata variables local instead of global. Modified: llvm-gcc-4.2/trunk/gcc/objc/objc-act.c Modified: llvm-gcc-4.2/trunk/gcc/obj

[llvm-commits] [llvm] r45742 - in /llvm/trunk: lib/Target/PowerPC/PPCISelDAGToDAG.cpp lib/Target/PowerPC/README.txt test/CodeGen/PowerPC/compare-fcmp-ord.ll

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 00:46:30 2008 New Revision: 45742 URL: http://llvm.org/viewvc/llvm-project?rev=45742&view=rev Log: Finally implement correct ordered comparisons for PPC, even though the code generated is not wonderful. This turns a miscompilation into a code quality bug (noted in

[llvm-commits] [llvm] r45743 - /llvm/trunk/test/CodeGen/PowerPC/compare-fcmp-ord.ll

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 00:52:51 2008 New Revision: 45743 URL: http://llvm.org/viewvc/llvm-project?rev=45743&view=rev Log: remove darwin/i386 t-t Modified: llvm/trunk/test/CodeGen/PowerPC/compare-fcmp-ord.ll Modified: llvm/trunk/test/CodeGen/PowerPC/compare-fcmp-ord.ll URL: http://

[llvm-commits] [llvm] r45744 - /llvm/trunk/include/llvm/Support/PatternMatch.h

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 01:02:44 2008 New Revision: 45744 URL: http://llvm.org/viewvc/llvm-project?rev=45744&view=rev Log: add match support for casts. Modified: llvm/trunk/include/llvm/Support/PatternMatch.h Modified: llvm/trunk/include/llvm/Support/PatternMatch.h URL: http://llvm

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

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 01:23:51 2008 New Revision: 45745 URL: http://llvm.org/viewvc/llvm-project?rev=45745&view=rev Log: Implement PR1795, an instcombine hack for forming GEPs with integer pointer arithmetic. Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

Re: [llvm-commits] [llvm-gcc-4.2] r45590 - in /llvm-gcc-4.2/trunk/gcc: llvm-abi.h llvm-convert.cpp llvm-debug.cpp llvm-internal.h llvm-types.cpp

2008-01-08 Thread Duncan Sands
> If a struct field is marked as a bitfield but > didn't need to be, treat it like an ordinary > field. The Ada front-end likes to mark fields > as bitfields preemptively, so this can occur > quite often for Ada. What is more, it can > mark non-integer fields as bitfields. In all > examples I ca

[llvm-commits] [llvm] r45746 - in /llvm/trunk/lib/Target: PowerPC/PPCSubtarget.cpp X86/X86Subtarget.cpp

2008-01-08 Thread Duncan Sands
Author: baldrick Date: Tue Jan 8 04:06:15 2008 New Revision: 45746 URL: http://llvm.org/viewvc/llvm-project?rev=45746&view=rev Log: Use size_t to store Pos, avoid truncating value on 64-bit builds. Analysis and original patch by Török Edwin. Code audit found another place with the same problem,

[llvm-commits] [llvm] r45748 - in /llvm/trunk: include/llvm/Target/TargetInstrDesc.h utils/TableGen/CodeGenInstruction.cpp utils/TableGen/CodeGenInstruction.h utils/TableGen/InstrInfoEmitter.cpp

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 12:05:21 2008 New Revision: 45748 URL: http://llvm.org/viewvc/llvm-project?rev=45748&view=rev Log: add a mayLoad property for machine instructions, a correlary to mayStore. This is currently not set by anything. Modified: llvm/trunk/include/llvm/Target/TargetI

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

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 12:21:54 2008 New Revision: 45751 URL: http://llvm.org/viewvc/llvm-project?rev=45751&view=rev Log: cleanups suggested by duncan, thanks Duncan! Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp URL: http://ll

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

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 13:41:42 2008 New Revision: 45753 URL: http://llvm.org/viewvc/llvm-project?rev=45753&view=rev Log: Cleanup suggested by Duncan, thanks! Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp URL: http://llvm.org/v

[llvm-commits] [llvm] r45752 - /llvm/trunk/include/llvm/ADT/ImmutableMap.h

2008-01-08 Thread Ted Kremenek
Author: kremenek Date: Tue Jan 8 13:38:55 2008 New Revision: 45752 URL: http://llvm.org/viewvc/llvm-project?rev=45752&view=rev Log: Fixed 80 col. violation. Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h Modified: llvm/trunk/include/llvm/ADT/ImmutableMap.h URL: http://llvm.org/viewvc

[llvm-commits] [llvm] r45756 - /llvm/trunk/include/llvm/ADT/ImmutableMap.h

2008-01-08 Thread Ted Kremenek
Author: kremenek Date: Tue Jan 8 15:05:59 2008 New Revision: 45756 URL: http://llvm.org/viewvc/llvm-project?rev=45756&view=rev Log: Added "getRoot()" to ImmutableMap. Made the ctor for ImmutableMap to construct a map from an AVL tree public. Modified: llvm/trunk/include/llvm/ADT/ImmutableMap

[llvm-commits] [llvm-gcc-4.0] r45755 - /llvm-gcc-4.0/trunk/gcc/config/i386/llvm-i386.cpp

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 15:01:08 2008 New Revision: 45755 URL: http://llvm.org/viewvc/llvm-project?rev=45755&view=rev Log: Fix the MMX related shift/rotate regressions (PR1902) Patch by Anders Carlsson, thanks! Modified: llvm-gcc-4.0/trunk/gcc/config/i386/llvm-i386.cpp Modified: ll

[llvm-commits] [llvm-gcc-4.2] r45754 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 15:00:44 2008 New Revision: 45754 URL: http://llvm.org/viewvc/llvm-project?rev=45754&view=rev Log: Fix the MMX related shift/rotate regressions (PR1902) Patch by Anders Carlsson, thanks! Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp Modified: ll

[llvm-commits] [llvm-gcc-4.2] r45757 - in /llvm-gcc-4.2/trunk/gcc: llvm-types.cpp tree.c tree.h

2008-01-08 Thread Dale Johannesen
Author: johannes Date: Tue Jan 8 15:08:57 2008 New Revision: 45757 URL: http://llvm.org/viewvc/llvm-project?rev=45757&view=rev Log: Fix gcc->llvm translation for virtual base classes. pr1746 Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp llvm-gcc-4.2/trunk/gcc/tree.c llvm-gcc-4.2/

[llvm-commits] [llvm] r45759 - /llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp

2008-01-08 Thread Owen Anderson
Author: resistor Date: Tue Jan 8 15:54:52 2008 New Revision: 45759 URL: http://llvm.org/viewvc/llvm-project?rev=45759&view=rev Log: Rename registers that do not need copies. Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp U

[llvm-commits] [llvm] r45758 - /llvm/trunk/test/CodeGen/X86/2008-01-08-IllegalCMP.ll

2008-01-08 Thread Duncan Sands
Author: baldrick Date: Tue Jan 8 15:51:53 2008 New Revision: 45758 URL: http://llvm.org/viewvc/llvm-project?rev=45758&view=rev Log: Crashes llc when using Chris's new legalization logic. Added: llvm/trunk/test/CodeGen/X86/2008-01-08-IllegalCMP.ll Added: llvm/trunk/test/CodeGen/X86/2008-01-0

Re: [llvm-commits] [llvm] r45687 - in /llvm/trunk: include/llvm/Target/TargetInstrInfo.h lib/CodeGen/MachineInstr.cpp lib/CodeGen/SelectionDAG/ScheduleDAG.cpp lib/Target/X86/X86CodeEmitter.cpp utils/T

2008-01-08 Thread Evan Cheng
Comments are accurate. Thx! Evan On Jan 6, 2008, at 9:19 PM, Chris Lattner wrote: > Author: lattner > Date: Sun Jan 6 23:19:29 2008 > New Revision: 45687 > > URL: http://llvm.org/viewvc/llvm-project?rev=45687&view=rev > Log: > rename hasVariableOperands() -> isVariadic(). Add some comments. > E

Re: [llvm-commits] [llvm] r45027 - in /llvm/trunk: include/llvm/IntrinsicsX86.td lib/VMCore/AutoUpgrade.cpp test/Assembler/AutoUpgradeIntrinsics.ll

2008-01-08 Thread Evan Cheng
It looks ok. But please add test cases that cover more than one of these intrinsics please. Evan On Jan 6, 2008, at 4:35 AM, Bill Wendling wrote: > Here's a potential patch as a follow-up for this patch: > > > > It's not tested (I got a compiler error during compilation of > LLVM...not LLVM

Re: [llvm-commits] [llvm-gcc-4.2] r45757 - in /llvm-gcc-4.2/trunk/gcc: llvm-types.cpp tree.c tree.h

2008-01-08 Thread Dale Johannesen
On Jan 8, 2008, at 2:28 PM, Chris Lattner wrote: > On Jan 8, 2008, at 1:08 PM, Dale Johannesen wrote: >> URL: http://llvm.org/viewvc/llvm-project?rev=45757&view=rev >> Log: >> Fix gcc->llvm translation for virtual base classes. pr1746 > > Yay, very nice Dale. > >> +/// Mapping from type to type-

Re: [llvm-commits] [llvm-gcc-4.2] r45757 - in /llvm-gcc-4.2/trunk/gcc: llvm-types.cpp tree.c tree.h

2008-01-08 Thread Chris Lattner
On Jan 8, 2008, at 1:08 PM, Dale Johannesen wrote: > URL: http://llvm.org/viewvc/llvm-project?rev=45757&view=rev > Log: > Fix gcc->llvm translation for virtual base classes. pr1746 Yay, very nice Dale. > +/// Mapping from type to type-used-as-base-class and back. > +static DenseMap BaseTypesMap;

Re: [llvm-commits] [llvm-gcc-4.2] r45757 - in /llvm-gcc-4.2/trunk/gcc: llvm-types.cpp tree.c tree.h

2008-01-08 Thread Chris Lattner
>>> +/// Mapping from type to type-used-as-base-class and back. >>> +static DenseMap BaseTypesMap; >> >> Does this play well with PCH? Please add a comment above this that >> says that the trees are kept pinned for the GC by the >> llvm_types_used map. >> >> If this doesn't work with PCH (Deva

[llvm-commits] [llvm] r45762 - in /llvm/trunk: lib/CodeGen/SelectionDAG/DAGCombiner.cpp test/CodeGen/X86/longlong-deadload.ll

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 17:08:06 2008 New Revision: 45762 URL: http://llvm.org/viewvc/llvm-project?rev=45762&view=rev Log: Make load->store deletion a bit smarter. This allows us to compile this: void test(long long *P) { *P ^= 1; } into just: _test: movl4(%esp), %eax

[llvm-commits] [llvm-gcc-4.2] r45761 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-08 Thread Bill Wendling
Author: void Date: Tue Jan 8 17:05:19 2008 New Revision: 45761 URL: http://llvm.org/viewvc/llvm-project?rev=45761&view=rev Log: Revert r45741; this broke the Objective-C ABI. Instead, mark metadata as "external". Modified: llvm-gcc-4.2/trunk/gcc/objc/objc-act.c Modified: llvm-gcc-4.2/trunk/

Re: [llvm-commits] [llvm-gcc-4.2] r45757 - in /llvm-gcc-4.2/trunk/gcc: llvm-types.cpp tree.c tree.h

2008-01-08 Thread Devang Patel
On Jan 8, 2008, at 2:36 PM, Dale Johannesen wrote: > > On Jan 8, 2008, at 2:28 PM, Chris Lattner wrote: > >> On Jan 8, 2008, at 1:08 PM, Dale Johannesen wrote: >>> URL: http://llvm.org/viewvc/llvm-project?rev=45757&view=rev >>> Log: >>> Fix gcc->llvm translation for virtual base classes. pr1746

[llvm-commits] [llvm-gcc-4.2] r45765 - /llvm-gcc-4.2/trunk/gcc/llvm-types.cpp

2008-01-08 Thread Dale Johannesen
Author: johannes Date: Tue Jan 8 18:16:55 2008 New Revision: 45765 URL: http://llvm.org/viewvc/llvm-project?rev=45765&view=rev Log: Watch out for overflow rounding up sizes of large objects. Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp URL

[llvm-commits] [llvm] r45766 - /llvm/trunk/lib/Target/README.txt

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 18:17:57 2008 New Revision: 45766 URL: http://llvm.org/viewvc/llvm-project?rev=45766&view=rev Log: add a note Modified: llvm/trunk/lib/Target/README.txt Modified: llvm/trunk/lib/Target/README.txt URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target

[llvm-commits] [llvm] r45768 - in /llvm/trunk/lib/Target/X86: README.txt X86InstrInfo.cpp

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 18:37:18 2008 New Revision: 45768 URL: http://llvm.org/viewvc/llvm-project?rev=45768&view=rev Log: add a testcase Modified: llvm/trunk/lib/Target/X86/README.txt llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Modified: llvm/trunk/lib/Target/X86/README.txt URL

[llvm-commits] [llvm] r45770 - /llvm/trunk/tools/llvm-ld/llvm-ld.cpp

2008-01-08 Thread Chris Lattner
Author: lattner Date: Tue Jan 8 19:01:17 2008 New Revision: 45770 URL: http://llvm.org/viewvc/llvm-project?rev=45770&view=rev Log: Fix llvm-ld -Xlinker, patch by Daniel Teske! Modified: llvm/trunk/tools/llvm-ld/llvm-ld.cpp Modified: llvm/trunk/tools/llvm-ld/llvm-ld.cpp URL: http://llvm.org

[llvm-commits] [llvm] r45772 - in /llvm/trunk: include/llvm/IntrinsicsX86.td test/CodeGen/X86/2007-05-17-ShuffleISelBug.ll test/CodeGen/X86/vec_shift.ll

2008-01-08 Thread Evan Cheng
Author: evancheng Date: Tue Jan 8 20:16:44 2008 New Revision: 45772 URL: http://llvm.org/viewvc/llvm-project?rev=45772&view=rev Log: Fix sse2.psrl.w and sse2.psrl.q definitions. Added: llvm/trunk/test/CodeGen/X86/vec_shift.ll Modified: llvm/trunk/include/llvm/IntrinsicsX86.td llvm/tr

[llvm-commits] CVS: llvm-www/devmtg/current/

2008-01-08 Thread LLVM
Changes in directory llvm-www/devmtg/current: --- Log message: Directory /var/cvs/llvm/llvm-www/devmtg/current added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu htt

[llvm-commits] [llvm] r45773 - /llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp

2008-01-08 Thread Owen Anderson
Author: resistor Date: Wed Jan 9 00:19:05 2008 New Revision: 45773 URL: http://llvm.org/viewvc/llvm-project?rev=45773&view=rev Log: Fix some simple bugs. StrongPHIElimination now does not crash on 164.gzip. Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp Modified: llvm/trunk/lib/

[llvm-commits] CVS: llvm-www/devmtg/current/index.html

2008-01-08 Thread Jonathan Johnson
Changes in directory llvm-www/devmtg/current: index.html added (r1.1) --- Log message: Added initial dev meeting page. --- Diffs of the changes: (+49 -0) index.html | 49 + 1 files changed, 49 insertions(+) Index: llvm-www/devmtg/current/

[llvm-commits] CVS: llvm-www/devmtg/current/index.html

2008-01-08 Thread Jonathan Johnson
Changes in directory llvm-www/devmtg/current: index.html updated: 1.1 -> 1.2 --- Log message: Fixed virtual include paths for developer meeting page. --- Diffs of the changes: (+2 -2) index.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-www/devmtg/current/i