[llvm-commits] [llvm] r47287 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2008-02-16-SDivOverflow.ll test/Transforms/InstCombine/2008-02-16-SDivOverflow

2008-02-18 Thread Nick Lewycky
Author: nicholas Date: Mon Feb 18 16:48:05 2008 New Revision: 47287 URL: http://llvm.org/viewvc/llvm-project?rev=47287&view=rev Log: Correctly fold divide-by-constant, even when faced with overflow. Added: llvm/trunk/test/Transforms/InstCombine/2008-02-16-SDivOverflow.ll llvm/trunk/test/T

Re: [llvm-commits] [llvm] r47225 [3/3] - /llvm/trunk/test/Assembler/

2008-02-16 Thread Nick Lewycky
Tanya Lattner wrote: > Modified: llvm/trunk/test/Assembler/2004-12-05-LocalGlobalSymtabConflict.ll > URL: > http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/2004-12-05-LocalGlobalSymtabConflict.ll?rev=47225&r1=47224&r2=47225&view=diff > > =

[llvm-commits] [llvm] r47113 - /llvm/trunk/test/Transforms/GVN/2008-02-13-NewPHI.ll

2008-02-13 Thread Nick Lewycky
Author: nicholas Date: Thu Feb 14 01:15:11 2008 New Revision: 47113 URL: http://llvm.org/viewvc/llvm-project?rev=47113&view=rev Log: Testcase for PR2032. Added: llvm/trunk/test/Transforms/GVN/2008-02-13-NewPHI.ll Added: llvm/trunk/test/Transforms/GVN/2008-02-13-NewPHI.ll URL: http://llvm.or

[llvm-commits] [llvm] r47111 - /llvm/trunk/lib/Transforms/Scalar/GVN.cpp

2008-02-13 Thread Nick Lewycky
Author: nicholas Date: Thu Feb 14 01:11:24 2008 New Revision: 47111 URL: http://llvm.org/viewvc/llvm-project?rev=47111&view=rev Log: Fix PR2032. Inform the alias analysis of changes to the underlying program. Modified: llvm/trunk/lib/Transforms/Scalar/GVN.cpp Modified: llvm/trunk/lib/Transfo

[llvm-commits] [llvm] r47105 - /llvm/trunk/tools/bugpoint/FindBugs.cpp

2008-02-13 Thread Nick Lewycky
Author: nicholas Date: Wed Feb 13 23:01:46 2008 New Revision: 47105 URL: http://llvm.org/viewvc/llvm-project?rev=47105&view=rev Log: PR2027, Fix bugpoint's -find-bugs option, clean up the code. Modified: llvm/trunk/tools/bugpoint/FindBugs.cpp Modified: llvm/trunk/tools/bugpoint/FindBugs.cpp

Re: [llvm-commits] [llvm] r47050 - /llvm/trunk/test/Transforms/GVN/2008-02-12UndefLoad.ll

2008-02-12 Thread Nick Lewycky
Eli Friedman wrote: > Author: efriedma > Date: Wed Feb 13 00:55:57 2008 > New Revision: 47050 > > URL: http://llvm.org/viewvc/llvm-project?rev=47050&view=rev > Log: > Add test for PR1996. (This is my first time adding a test for a > transform, so please review.) > > > Added: > llvm/trunk/t

Re: [llvm-commits] [llvm] r46916 - /llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp

2008-02-12 Thread Nick Lewycky
not what changed to make the changes go away. You can revert the patch or I'll revert it later. The problem goes away when EH is set to disabled. I'll collect the errors and email them later today. Nick > Thanks, > > Evan > > On Feb 9, 2008, at 4:03 PM, Nick Lewycky w

Re: [llvm-commits] Fix for PR1798 (ScalarEvolution)

2008-02-10 Thread Nick Lewycky
Wojciech Matyjewicz wrote: > Nick Lewycky wrote: >> Just one question, >> >> + const IntegerType *ExTy = IntegerType::get(std::max(DividendBits, 32U)); >> >> why the max of DividendBits and 32? If for whatever reason we think we >> need only 16 bits f

Re: [llvm-commits] Fix for PR1798 (ScalarEvolution)

2008-02-10 Thread Nick Lewycky
Chris Lattner wrote: > On Feb 9, 2008, at 9:26 AM, Wojciech Matyjewicz wrote: > >> Hi, >> >> I've attached an updated version of the patch. It is ready for using >> support for APInts in the code generator, but currently it doesn't >> rely >> on this feature. I've added a hack that rounds up the

[llvm-commits] [llvm] r46916 - /llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp

2008-02-09 Thread Nick Lewycky
Author: nicholas Date: Sat Feb 9 18:03:54 2008 New Revision: 46916 URL: http://llvm.org/viewvc/llvm-project?rev=46916&view=rev Log: Match GCC's behaviour for these sections. Modified: llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp Modified: llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo

[llvm-commits] [llvm] r46848 - /llvm/trunk/lib/CodeGen/AsmPrinter.cpp

2008-02-06 Thread Nick Lewycky
Author: nicholas Date: Thu Feb 7 00:36:26 2008 New Revision: 46848 URL: http://llvm.org/viewvc/llvm-project?rev=46848&view=rev Log: Don't make up new directives. (".set_foobar") Modified: llvm/trunk/lib/CodeGen/AsmPrinter.cpp Modified: llvm/trunk/lib/CodeGen/AsmPrinter.cpp URL: http://llvm

[llvm-commits] [llvm] r46688 - /llvm/trunk/test/Transforms/InstCombine/2008-01-29-AddICmp.ll

2008-02-03 Thread Nick Lewycky
Author: nicholas Date: Sun Feb 3 10:35:19 2008 New Revision: 46688 URL: http://llvm.org/viewvc/llvm-project?rev=46688&view=rev Log: Tag this test with the PR reference. Modified: llvm/trunk/test/Transforms/InstCombine/2008-01-29-AddICmp.ll Modified: llvm/trunk/test/Transforms/InstCombine/20

[llvm-commits] [llvm] r46687 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2008-01-29-AddICmp.ll

2008-02-03 Thread Nick Lewycky
Author: nicholas Date: Sun Feb 3 10:33:09 2008 New Revision: 46687 URL: http://llvm.org/viewvc/llvm-project?rev=46687&view=rev Log: There are some cases where icmp(add) can be folded into a new icmp. Handle them. Added: llvm/trunk/test/Transforms/InstCombine/2008-01-29-AddICmp.ll Modified:

[llvm-commits] [llvm] r46684 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

2008-02-03 Thread Nick Lewycky
Author: nicholas Date: Sun Feb 3 02:19:11 2008 New Revision: 46684 URL: http://llvm.org/viewvc/llvm-project?rev=46684&view=rev Log: Hack on vectors too. Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp UR

[llvm-commits] [llvm] r46683 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

2008-02-02 Thread Nick Lewycky
Author: nicholas Date: Sun Feb 3 01:42:09 2008 New Revision: 46683 URL: http://llvm.org/viewvc/llvm-project?rev=46683&view=rev Log: Fold away one multiply in instcombine. This would normally be caught in reassociate anyways, but they could be generated during instcombine's run. Modified: llv

Re: [llvm-commits] [llvm] r46666 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-02-02 Thread Nick Lewycky
Chris Lattner wrote: > On Feb 2, 2008, at 11:43 AM, Eric Christopher wrote: > >> On Feb 2, 2008, at 11:13 AM, Chris Lattner wrote: >> >>> On Feb 2, 2008, at 12:29 AM, Nick Lewycky wrote: >>>> Author: nicholas >>>> Date: Sat Feb 2 02:29:5

[llvm-commits] [llvm] r46666 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-02-02 Thread Nick Lewycky
Author: nicholas Date: Sat Feb 2 02:29:58 2008 New Revision: 4 URL: http://llvm.org/viewvc/llvm-project?rev=4&view=rev Log: Don't use uninitialized values. Fixes vec_align.ll on X86 Linux. Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Modified: llvm/trunk/lib/Target/X86/X8

[llvm-commits] [llvm] r46555 - /llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp

2008-01-30 Thread Nick Lewycky
Author: nicholas Date: Wed Jan 30 02:01:28 2008 New Revision: 46555 URL: http://llvm.org/viewvc/llvm-project?rev=46555&view=rev Log: Remove a couple more cases of "getNumUses() == 0". No need to walk the linked list just to see if whether the list is empty. Modified: llvm/trunk/lib/Transforms

[llvm-commits] [llvm] r46554 - /llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp

2008-01-29 Thread Nick Lewycky
Author: nicholas Date: Wed Jan 30 01:54:16 2008 New Revision: 46554 URL: http://llvm.org/viewvc/llvm-project?rev=46554&view=rev Log: Use empty() instead of comparing size() with zero. Modified: llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp Modified: llvm/trunk/lib/Transforms/Scal

[llvm-commits] [llvm] r46553 - /llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp

2008-01-29 Thread Nick Lewycky
Author: nicholas Date: Wed Jan 30 01:45:37 2008 New Revision: 46553 URL: http://llvm.org/viewvc/llvm-project?rev=46553&view=rev Log: Don't DCE FreeInst's. We were using those! Patch from Owen Anderson. Modified: llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp Modified: llvm/trunk/l

Re: [llvm-commits] [llvm] r46499 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/zero-point-zero-add.ll

2008-01-28 Thread Nick Lewycky
Chris Lattner wrote: > +if (const IntrinsicInst *II = dyn_cast(I)) > + if (II->getIntrinsicID() == Intrinsic::sqrt) > +return CannotBeNegativeZero(II->getOperand(1)); "Unlike sqrt in libm, however, llvm.sqrt has undefined behavior for negative numbers (which allows for better opt

[llvm-commits] [test-suite] r46445 - /test-suite/trunk/MultiSource/Benchmarks/VersaBench/beamformer/Makefile

2008-01-27 Thread Nick Lewycky
Author: nicholas Date: Mon Jan 28 01:16:22 2008 New Revision: 46445 URL: http://llvm.org/viewvc/llvm-project?rev=46445&view=rev Log: Make this test a little more forgiving. Modified: test-suite/trunk/MultiSource/Benchmarks/VersaBench/beamformer/Makefile Modified: test-suite/trunk/MultiSource

[llvm-commits] [llvm] r46431 - in /llvm/trunk: include/llvm/Instructions.h lib/Transforms/Scalar/InstructionCombining.cpp lib/VMCore/Instructions.cpp test/Transforms/InstCombine/2008-01-21-MismatchedC

2008-01-27 Thread Nick Lewycky
Author: nicholas Date: Sun Jan 27 21:48:02 2008 New Revision: 46431 URL: http://llvm.org/viewvc/llvm-project?rev=46431&view=rev Log: Handle some more combinations of extend and icmp. Fixes PR1940. Added: llvm/trunk/test/Transforms/InstCombine/2008-01-21-MismatchedCastAndCompare.ll Modified:

[llvm-commits] [llvm] r46417 - in /llvm/trunk: lib/Transforms/Scalar/LoopUnroll.cpp test/Transforms/LoopUnroll/2007-11-05-Crash.ll

2008-01-27 Thread Nick Lewycky
Author: nicholas Date: Sun Jan 27 12:35:00 2008 New Revision: 46417 URL: http://llvm.org/viewvc/llvm-project?rev=46417&view=rev Log: Be more careful modifying the use_list while also iterating through it. Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp llvm/trunk/test/Transforms

[llvm-commits] [llvm] r46247 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

2008-01-21 Thread Nick Lewycky
Author: nicholas Date: Mon Jan 21 23:42:02 2008 New Revision: 46247 URL: http://llvm.org/viewvc/llvm-project?rev=46247&view=rev Log: Enable the fix I just checked in, silly me. Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Modified: llvm/trunk/lib/Transforms/Scalar/Inst

Re: [llvm-commits] [llvm] r46244 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2008-01-21-MulTrunc.ll

2008-01-21 Thread Nick Lewycky
Duh. Thanks Nate! Nate Begeman wrote: > I don't get different output for the attached patch before and after > the patch, and the test fails. > > On Jan 21, 2008, at 9:08 PM, Nick Lewycky wrote: > >> ==

[llvm-commits] [llvm] r46244 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2008-01-21-MulTrunc.ll

2008-01-21 Thread Nick Lewycky
Author: nicholas Date: Mon Jan 21 23:08:48 2008 New Revision: 46244 URL: http://llvm.org/viewvc/llvm-project?rev=46244&view=rev Log: Multiply can be evaluated in a different type, so long as the target type has a smaller bitwidth. Added: llvm/trunk/test/Transforms/InstCombine/2008-01-21-MulTr

[llvm-commits] [llvm] r45649 - /llvm/trunk/test/Analysis/BasicAA/2007-08-01-NoAliasAndCalls.ll

2008-01-05 Thread Nick Lewycky
Author: nicholas Date: Sat Jan 5 21:12:44 2008 New Revision: 45649 URL: http://llvm.org/viewvc/llvm-project?rev=45649&view=rev Log: Accept both %y, %x and %x, %y as valid answers. Modified: llvm/trunk/test/Analysis/BasicAA/2007-08-01-NoAliasAndCalls.ll Modified: llvm/trunk/test/Analysis/Bas

[llvm-commits] [llvm] r45485 - /llvm/trunk/lib/Analysis/ScalarEvolution.cpp

2008-01-02 Thread Nick Lewycky
Author: nicholas Date: Tue Jan 1 20:49:20 2008 New Revision: 45485 URL: http://llvm.org/viewvc/llvm-project?rev=45485&view=rev Log: Don't be rude, emit debugging info where asked to. Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp

Re: [llvm-commits] [llvm] r44981 - in /llvm/trunk: lib/Transforms/Scalar/CodeGenPrepare.cpp test/CodeGen/X86/opt-ext-uses.ll

2007-12-12 Thread Nick Lewycky
Evan Cheng wrote: > @@ -929,6 +929,10 @@ >if (Src->hasOneUse()) > return false; > > + // Only do this xform is truncating is free. Should read ...xform if* truncating... > + if (!TLI->isTruncateFree(I->getType(), Src->getType())) > +return false; > + >// Only safe to perform

Re: [llvm-commits] [llvm] r44769 - in /llvm/trunk: bindings/ocaml/llvm/ docs/ include/llvm-c/ include/llvm/ include/llvm/Bitcode/ lib/AsmParser/ lib/Bitcode/Reader/ lib/Bitcode/Writer/ lib/Transforms/

2007-12-09 Thread Nick Lewycky
Gordon Henriksen wrote: > == > --- llvm/trunk/docs/LangRef.html (original) > +++ llvm/trunk/docs/LangRef.html Sun Dec 9 21:18:06 2007 > @@ -26,6 +26,7 @@ >Functions >Aliases >Parameter Attributes >

[llvm-commits] [llvm] r44527 - /llvm/trunk/docs/GettingStarted.html

2007-12-02 Thread Nick Lewycky
Author: nicholas Date: Sun Dec 2 19:58:01 2007 New Revision: 44527 URL: http://llvm.org/viewvc/llvm-project?rev=44527&view=rev Log: lli -trace was removed back in 2003. Modified: llvm/trunk/docs/GettingStarted.html Modified: llvm/trunk/docs/GettingStarted.html URL: http://llvm.org/viewvc/l

[llvm-commits] [llvm] r44526 - /llvm/trunk/docs/ProgrammersManual.html

2007-12-02 Thread Nick Lewycky
Author: nicholas Date: Sun Dec 2 19:52:52 2007 New Revision: 44526 URL: http://llvm.org/viewvc/llvm-project?rev=44526&view=rev Log: Type::IntTy hasn't existed for a while. Just sub in Type::Int32Ty. Modified: llvm/trunk/docs/ProgrammersManual.html Modified: llvm/trunk/docs/ProgrammersManual

[llvm-commits] [llvm] r44319 - in /llvm/trunk: include/llvm/Analysis/ScalarEvolution.h include/llvm/Analysis/ScalarEvolutionExpander.h include/llvm/Analysis/ScalarEvolutionExpressions.h lib/Analysis/S

2007-11-25 Thread Nick Lewycky
Author: nicholas Date: Sun Nov 25 16:41:31 2007 New Revision: 44319 URL: http://llvm.org/viewvc/llvm-project?rev=44319&view=rev Log: Add new SCEV, SCEVSMax. This allows LLVM to analyze do-while loops. Added: llvm/trunk/test/Analysis/ScalarEvolution/do-loop.ll llvm/trunk/test/Analysis/Scal

[llvm-commits] recent kimwitu++ failure

2007-11-24 Thread Nick Lewycky
MultiSource/Applications/kimwitu++ fails to link with this error: llvm-ld: error: Cannot link file 'Output/rk.bc': Appending variables with different element types need to be linked! This appears to be fall-out from the attribute changes. Could someone please take a look at this? Th

[llvm-commits] [llvm] r44268 - /llvm/trunk/lib/Analysis/ScalarEvolution.cpp

2007-11-22 Thread Nick Lewycky
Author: nicholas Date: Thu Nov 22 01:59:40 2007 New Revision: 44268 URL: http://llvm.org/viewvc/llvm-project?rev=44268&view=rev Log: Instead of calculating constant factors, calculate the number of trailing bits. Patch from Wojciech Matyjewicz. Modified: llvm/trunk/lib/Analysis/ScalarEvolutio

[llvm-commits] [llvm] r44267 - in /llvm/trunk: lib/Analysis/IPA/Andersens.cpp test/Analysis/Andersens/2007-11-19-InlineAsm.ll

2007-11-21 Thread Nick Lewycky
Author: nicholas Date: Wed Nov 21 21:07:37 2007 New Revision: 44267 URL: http://llvm.org/viewvc/llvm-project?rev=44267&view=rev Log: Create nodes for inline asm so that we don't crash looking for the node later. Added: llvm/trunk/test/Analysis/Andersens/2007-11-19-InlineAsm.ll Modified: l

[llvm-commits] [llvm] r44262 - /llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp

2007-11-20 Thread Nick Lewycky
Author: nicholas Date: Tue Nov 20 23:21:54 2007 New Revision: 44262 URL: http://llvm.org/viewvc/llvm-project?rev=44262&view=rev Log: typo Modified: llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp Modified: llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp URL: http://llvm.org/viewvc/llvm-

[llvm-commits] [llvm] r44249 - /llvm/trunk/lib/Analysis/ScalarEvolution.cpp

2007-11-20 Thread Nick Lewycky
Author: nicholas Date: Tue Nov 20 02:44:50 2007 New Revision: 44249 URL: http://llvm.org/viewvc/llvm-project?rev=44249&view=rev Log: Small cleanup. Use APInt::getHighBitsSet method instead of shift left. "setcc" -> "icmp op" in comments. No functionality change. Modified: llvm/trunk/lib/Analy

[llvm-commits] [llvm] r44248 - in /llvm/trunk: lib/Analysis/ScalarEvolution.cpp test/Analysis/ScalarEvolution/2007-11-18-OrInstruction.ll

2007-11-20 Thread Nick Lewycky
Author: nicholas Date: Tue Nov 20 02:24:44 2007 New Revision: 44248 URL: http://llvm.org/viewvc/llvm-project?rev=44248&view=rev Log: Be more careful when transforming | to +. Patch from Wojciech Matyjewicz. Added: llvm/trunk/test/Analysis/ScalarEvolution/2007-11-18-OrInstruction.ll Modified:

[llvm-commits] [llvm] r44163 - in /llvm/trunk: include/llvm/Analysis/ScalarEvolution.h include/llvm/Analysis/ScalarEvolutionExpander.h include/llvm/Analysis/ScalarEvolutionExpressions.h lib/Analysis/S

2007-11-15 Thread Nick Lewycky
Author: nicholas Date: Thu Nov 15 00:30:50 2007 New Revision: 44163 URL: http://llvm.org/viewvc/llvm-project?rev=44163&view=rev Log: Fix handling of overflow in loop calculation by adding new UDiv SCEV. This SCEV is disabled in the sense that it will refuse to create one from a UDiv instruction, u

[llvm-commits] [llvm-gcc-4.0] r44165 - in /llvm-gcc-4.0/trunk/gcc/config/rs6000: linux.h sysv4.h

2007-11-15 Thread Nick Lewycky
Author: nicholas Date: Thu Nov 15 01:48:19 2007 New Revision: 44165 URL: http://llvm.org/viewvc/llvm-project?rev=44165&view=rev Log: A cleaner fix for the PowerPC Linux build issues. Patch by Eric Christopher. Modified: llvm-gcc-4.0/trunk/gcc/config/rs6000/linux.h llvm-gcc-4.0/trunk/gcc/c

[llvm-commits] [llvm-gcc-4.0] r44155 - in /llvm-gcc-4.0/trunk/gcc/config/rs6000: linux.h rs6000.c

2007-11-14 Thread Nick Lewycky
Author: nicholas Date: Wed Nov 14 20:41:26 2007 New Revision: 44155 URL: http://llvm.org/viewvc/llvm-project?rev=44155&view=rev Log: Fix build errors on PowerPC Linux. Modified: llvm-gcc-4.0/trunk/gcc/config/rs6000/linux.h llvm-gcc-4.0/trunk/gcc/config/rs6000/rs6000.c Modified: llvm-gcc-

[llvm-commits] [llvm] r44101 - in /llvm/trunk: lib/Transforms/IPO/LoopExtractor.cpp tools/bugpoint/BugDriver.h tools/bugpoint/ExtractFunction.cpp tools/bugpoint/Miscompilation.cpp tools/bugpoint/Optim

2007-11-13 Thread Nick Lewycky
Author: nicholas Date: Wed Nov 14 00:47:06 2007 New Revision: 44101 URL: http://llvm.org/viewvc/llvm-project?rev=44101&view=rev Log: Allow the block extractor take to take a list of basic blocks to not extract from a file containing Function/BasicBlock pairings. This is not safe against anonymous

[llvm-commits] [llvm] r43928 - /llvm/trunk/docs/index.html

2007-11-08 Thread Nick Lewycky
Author: nicholas Date: Thu Nov 8 23:45:51 2007 New Revision: 43928 URL: http://llvm.org/viewvc/llvm-project?rev=43928&view=rev Log: Add a link to the tutorial. Modified: llvm/trunk/docs/index.html Modified: llvm/trunk/docs/index.html URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs

[llvm-commits] llvm-gcc on PPC without TARGET_MACHO defined

2007-11-04 Thread Nick Lewycky
In llvm-gcc 4.0, "rs6000_output_mi_thunk" in gcc/config/rs6000/rs6000.c fails to compile unless TARGET_MACHO is defined. The problem is this block of code: /* This JMP is in a coalesced section, and Mach-O forbids us to directly reference anything else in a coalesced section; if

[llvm-commits] [llvm-gcc-4.0] r43681 - /llvm-gcc-4.0/trunk/gcc/config/rs6000/rs6000.c

2007-11-04 Thread Nick Lewycky
Author: nicholas Date: Sun Nov 4 13:41:27 2007 New Revision: 43681 URL: http://llvm.org/viewvc/llvm-project?rev=43681&view=rev Log: lr_already_set_up_for_pic is only defined when TARGET_MACHO is defined. Modified: llvm-gcc-4.0/trunk/gcc/config/rs6000/rs6000.c Modified: llvm-gcc-4.0/trunk/gc

[llvm-commits] [llvm] r43676 - in /llvm/trunk/lib/Target/PowerPC: PPCAsmPrinter.cpp PPCTargetAsmInfo.cpp

2007-11-04 Thread Nick Lewycky
Author: nicholas Date: Sun Nov 4 11:32:10 2007 New Revision: 43676 URL: http://llvm.org/viewvc/llvm-project?rev=43676&view=rev Log: Fix crash before main on ppc/linux with static constructors. PR1771 Modified: llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp llvm/trunk/lib/Target/PowerPC/

Re: [llvm-commits] [llvm] r43667 - /llvm/trunk/docs/tutorial/LangImpl7.html

2007-11-03 Thread Nick Lewycky
Chris Lattner wrote: > +we'll illustrated this below with Kaleidoscope. The final question you may > be We've illustrated? We'll illustrate? Nick ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-com

Re: [llvm-commits] [llvm] r42426 - /llvm/trunk/lib/Target/X86/X86InstrInfo.td

2007-09-27 Thread Nick Lewycky
Evan Cheng wrote: > +// Pessimisively assume ADJCALLSTACKDOWN / ADJCALLSTACKUP will become sub / > add > +// which can clobber EFLAGS. Permissively? Pessimistically? Nick ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu

[llvm-commits] [llvm] r42394 - in /llvm/trunk: lib/Analysis/ScalarEvolution.cpp test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll

2007-09-27 Thread Nick Lewycky
Author: nicholas Date: Thu Sep 27 09:12:54 2007 New Revision: 42394 URL: http://llvm.org/viewvc/llvm-project?rev=42394&view=rev Log: Build the correct range for loops with unusual bounds. Fix from Jay Foad. Added: llvm/trunk/test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll Modified:

Re: [llvm-commits] [llvm] r42341 - /llvm/trunk/docs/ReleaseNotes.html

2007-09-25 Thread Nick Lewycky
Chris Lattner wrote: > +a lazy, caching layer on top of > +AliasAnalysis. He then used it to rewrite Please don't place whitespace or newlines directly inside ... tags. This causes older browsers to emit a hyperlinked whitespace before the word AliasAnalysis. Nick ___

[llvm-commits] [llvm] r42158 - /llvm/trunk/test/Transforms/PredicateSimplifier/2007-09-19-Subtract.ll

2007-09-19 Thread Nick Lewycky
Author: nicholas Date: Wed Sep 19 19:57:00 2007 New Revision: 42158 URL: http://llvm.org/viewvc/llvm-project?rev=42158&view=rev Log: Excuse me. Modified: llvm/trunk/test/Transforms/PredicateSimplifier/2007-09-19-Subtract.ll Modified: llvm/trunk/test/Transforms/PredicateSimplifier/2007-09-19-

[llvm-commits] [llvm] r42157 - in /llvm/trunk: lib/Transforms/Scalar/PredicateSimplifier.cpp test/Transforms/PredicateSimplifier/2007-09-19-Subtract.ll

2007-09-19 Thread Nick Lewycky
Author: nicholas Date: Wed Sep 19 19:48:36 2007 New Revision: 42157 URL: http://llvm.org/viewvc/llvm-project?rev=42157&view=rev Log: Fix optimization. %x = sub %x, %y does not imply that %y is zero. Added: llvm/trunk/test/Transforms/PredicateSimplifier/2007-09-19-Subtract.ll Modified: llv

Re: [llvm-commits] Trampoline changes

2007-09-08 Thread Nick Lewycky
ine call is much more expensive than a regular call? Would you mind sending a small before and after example for the transformation implemented by your instcombine patch? Nick Lewycky ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lis

[llvm-commits] [llvm] r41785 - /llvm/trunk/docs/LangRef.html

2007-09-08 Thread Nick Lewycky
Author: nicholas Date: Sat Sep 8 08:57:50 2007 New Revision: 41785 URL: http://llvm.org/viewvc/llvm-project?rev=41785&view=rev Log: Fix description of the call instruction. There are two types, with one being optional. Modified: llvm/trunk/docs/LangRef.html Modified: llvm/trunk/docs/LangRef

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

2007-09-05 Thread Nick Lewycky
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 two op

[llvm-commits] [llvm] r41741 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

2007-09-05 Thread Nick Lewycky
Author: nicholas Date: Wed Sep 5 21:40:25 2007 New Revision: 41741 URL: http://llvm.org/viewvc/llvm-project?rev=41741&view=rev Log: Use isTrueWhenEqual. Thanks Chris! Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCo

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

2007-09-05 Thread Nick Lewycky
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 two operands of an icmp are equal, there are five possible predicates that would make the icmp true. Fixes PR1637. Added: llvm/trunk/test/Transforms/In

[llvm-commits] [llvm] r41169 - /llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp

2007-08-18 Thread Nick Lewycky
Author: nicholas Date: Sat Aug 18 18:18:03 2007 New Revision: 41169 URL: http://llvm.org/viewvc/llvm-project?rev=41169&view=rev Log: Never insert duplicate edges. Modified: llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp Modified: llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier

[llvm-commits] [llvm] r41170 - /llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp

2007-08-18 Thread Nick Lewycky
Author: nicholas Date: Sat Aug 18 18:21:28 2007 New Revision: 41170 URL: http://llvm.org/viewvc/llvm-project?rev=41170&view=rev Log: Oops, remove assert that wasn't meant to be committed. Modified: llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp Modified: llvm/trunk/lib/Transforms/S

[llvm-commits] [llvm] r41168 - /llvm/trunk/lib/Transforms/Scalar/LICM.cpp

2007-08-18 Thread Nick Lewycky
Author: nicholas Date: Sat Aug 18 10:08:56 2007 New Revision: 41168 URL: http://llvm.org/viewvc/llvm-project?rev=41168&view=rev Log: Typo. Modified: llvm/trunk/lib/Transforms/Scalar/LICM.cpp Modified: llvm/trunk/lib/Transforms/Scalar/LICM.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/tr

[llvm-commits] [llvm] r41167 - /llvm/trunk/include/llvm/Analysis/Dominators.h

2007-08-18 Thread Nick Lewycky
Author: nicholas Date: Sat Aug 18 09:46:55 2007 New Revision: 41167 URL: http://llvm.org/viewvc/llvm-project?rev=41167&view=rev Log: Simplify. Modified: llvm/trunk/include/llvm/Analysis/Dominators.h Modified: llvm/trunk/include/llvm/Analysis/Dominators.h URL: http://llvm.org/viewvc/llvm-pro

Re: [llvm-commits] [llvm] r41074 - /llvm/trunk/include/llvm/Analysis/Dominators.h

2007-08-14 Thread Nick Lewycky
On Tue, 2007-08-14 at 16:53 +, Devang Patel wrote: > +for (iterator I = begin(), E = end(); I != E; ++I) > + if (I->second.count(BB)) > +I->second.erase(BB); > +Frontiers.erase(BB); >} Why test I->second.count()? The worst erase() will do if BB doesn't exist is nothing

[llvm-commits] [llvm] r40889 - /llvm/trunk/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll

2007-08-07 Thread Nick Lewycky
Author: nicholas Date: Tue Aug 7 07:27:03 2007 New Revision: 40889 URL: http://llvm.org/viewvc/llvm-project?rev=40889&view=rev Log: Add reference to problem report. Modified: llvm/trunk/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll Modified: llvm/trunk/test/Analysis/ScalarEvolution/2

[llvm-commits] [llvm] r40870 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/not-fcmp.ll

2007-08-06 Thread Nick Lewycky
Author: nicholas Date: Mon Aug 6 15:04:16 2007 New Revision: 40870 URL: http://llvm.org/viewvc/llvm-project?rev=40870&view=rev Log: It's safe to fold not of fcmp. Added: llvm/trunk/test/Transforms/InstCombine/not-fcmp.ll Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

[llvm-commits] [llvm] r40869 - in /llvm/trunk/test/Analysis/ScalarEvolution: 2007-08-06-MisinterpretBranch.ll 2007-08-06-Unsigned.ll 2007-09-06-MisinterpretBranch.ll 2007-09-06-Unsigned.ll

2007-08-06 Thread Nick Lewycky
Author: nicholas Date: Mon Aug 6 15:00:11 2007 New Revision: 40869 URL: http://llvm.org/viewvc/llvm-project?rev=40869&view=rev Log: Fix the dates on these tests. It's not September yet. Thanks Reid! Added: llvm/trunk/test/Analysis/ScalarEvolution/2007-08-06-MisinterpretBranch.ll - copi

[llvm-commits] [llvm] r40867 - in /llvm/trunk: lib/Analysis/ScalarEvolution.cpp test/Analysis/ScalarEvolution/2007-09-06-Unsigned.ll

2007-08-06 Thread Nick Lewycky
Author: nicholas Date: Mon Aug 6 14:21:00 2007 New Revision: 40867 URL: http://llvm.org/viewvc/llvm-project?rev=40867&view=rev Log: Let scalar-evolution analyze loops with an unsigned comparison for the exit condition. Fixes 1597. Added: llvm/trunk/test/Analysis/ScalarEvolution/2007-09-06-Un

[llvm-commits] [llvm] r40866 - in /llvm/trunk: lib/Analysis/ScalarEvolution.cpp test/Analysis/ScalarEvolution/2007-09-06-MisinterpretBranch.ll

2007-08-06 Thread Nick Lewycky
Author: nicholas Date: Mon Aug 6 13:33:46 2007 New Revision: 40866 URL: http://llvm.org/viewvc/llvm-project?rev=40866&view=rev Log: Don't assume it's safe to transform a loop just because it's dominated by any comparison. Fixes bug 1598. Added: llvm/trunk/test/Analysis/ScalarEvolution/2007-0

[llvm-commits] [llvm] r40815 - /llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp

2007-08-04 Thread Nick Lewycky
Author: nicholas Date: Sat Aug 4 13:45:32 2007 New Revision: 40815 URL: http://llvm.org/viewvc/llvm-project?rev=40815&view=rev Log: Clean up comments, fix up some confusing code logic. Predsimplify fails llvm-gcc bootstrap. Modified: llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp

Re: [llvm-commits] ScalarEvolution fix for treeadd

2007-07-28 Thread Nick Lewycky
Dan Gohman wrote: >>I'm not sure why, but it doesn't seem as promising as the previous test >>I had. Could it be that when comparing the PDF I should ignore blocks >>that are not part of the loop? > > If there are branches from outside the loop to blocks inside the loop > other than the loop heade

[llvm-commits] [llvm] r40569 - /llvm/trunk/test/CFrontend/2007-06-18-SextAttrAggregate.c

2007-07-28 Thread Nick Lewycky
Author: nicholas Date: Sat Jul 28 11:43:10 2007 New Revision: 40569 URL: http://llvm.org/viewvc/llvm-project?rev=40569&view=rev Log: Make this explictly signed. Fixes PR1571. Modified: llvm/trunk/test/CFrontend/2007-06-18-SextAttrAggregate.c Modified: llvm/trunk/test/CFrontend/2007-06-18-Sex

Re: [llvm-commits] ScalarEvolution fix for treeadd

2007-07-25 Thread Nick Lewycky
Dan Gohman wrote: >>>Would it be too intrusive to ask ScalarEvolution to use a >>>PostDominanceFrontier for this? >> >>No, that's what I implemented at first. Unfortunately, it doesn't cover >>all the possible cases (specifically, it broke 2007-01-06-TripCount.ll). >> >>In 2007-01-06-TripCount.ll t

[llvm-commits] [llvm] r40483 - in /llvm/trunk/lib/Target/PowerPC: PPCAsmPrinter.cpp PPCTargetAsmInfo.cpp

2007-07-24 Thread Nick Lewycky
Author: nicholas Date: Tue Jul 24 22:48:45 2007 New Revision: 40483 URL: http://llvm.org/viewvc/llvm-project?rev=40483&view=rev Log: Fix debug info and globals filled with zeros. Modified: llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp

Re: [llvm-commits] ScalarEvolution fix for treeadd

2007-07-23 Thread Nick Lewycky
On Mon, 2007-07-23 at 09:58 -0500, Dan Gohman wrote: > > +// If we can show that there is no inner cycle in the loop then we know > > +// that the execution count must equal the branch count. > > Would it be too intrusive to ask ScalarEvolution to use a > PostDominanceFrontier for this? N

[llvm-commits] ScalarEvolution fix for treeadd

2007-07-21 Thread Nick Lewycky
Treeadd has a for loop from 0 to 100 that scalar-evolution isn't able to determine the bounds of. Attached is a patch that handles the unusual case where the exit branch indirectly leads back to the loop header. It didn't cause any miscompiles in llvm-test (excl. External) and I did a count of how

[llvm-commits] [llvm] r39990 - /llvm/trunk/docs/CommandGuide/bugpoint.pod

2007-07-17 Thread Nick Lewycky
Author: nicholas Date: Tue Jul 17 23:24:20 2007 New Revision: 39990 URL: http://llvm.org/viewvc/llvm-project?rev=39990&view=rev Log: Alphabetize. Document -mlimit parameter. Modified: llvm/trunk/docs/CommandGuide/bugpoint.pod Modified: llvm/trunk/docs/CommandGuide/bugpoint.pod URL: http://l

Re: [llvm-commits] [llvm] r39980 - /llvm/trunk/tools/opt/opt.cpp

2007-07-17 Thread Nick Lewycky
Evan, Did you want to remove the comment as well? Nick Evan Cheng wrote: > Author: evancheng > Date: Tue Jul 17 15:07:21 2007 > New Revision: 39980 > > URL: http://llvm.org/viewvc/llvm-project?rev=39980&view=rev > Log: > Change sroa threshold back. > > Modified: > llvm/trunk/tools/opt/opt.

[llvm-commits] [llvm] r39894 - /llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp

2007-07-15 Thread Nick Lewycky
Author: nicholas Date: Sun Jul 15 21:58:37 2007 New Revision: 39894 URL: http://llvm.org/viewvc/llvm-project?rev=39894&view=rev Log: Start adding and cleaning up comments. Modified: llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp Modified: llvm/trunk/lib/Transforms/Scalar/PredicateS

[llvm-commits] [llvm] r39893 - in /llvm/trunk: include/llvm/Analysis/ScalarEvolutionExpressions.h lib/Analysis/ScalarEvolution.cpp test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll

2007-07-15 Thread Nick Lewycky
Author: nicholas Date: Sun Jul 15 21:08:00 2007 New Revision: 39893 URL: http://llvm.org/viewvc/llvm-project?rev=39893&view=rev Log: Handle decrementing loops properly. Fixes PR1533. Always pass the constant as the second parameter to HowManyLessThans. Remove obsolete "isSigned" parameter. Add

[llvm-commits] [llvm] r39857 - in /llvm/trunk: include/llvm/Support/ConstantRange.h lib/Support/ConstantRange.cpp

2007-07-14 Thread Nick Lewycky
Author: nicholas Date: Sat Jul 14 12:41:03 2007 New Revision: 39857 URL: http://llvm.org/viewvc/llvm-project?rev=39857&view=rev Log: Clarify the language. Pointed out by Duncan Sands. Modified: llvm/trunk/include/llvm/Support/ConstantRange.h llvm/trunk/lib/Support/ConstantRange.cpp Modif

[llvm-commits] [llvm] r39856 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2007-07-14 Thread Nick Lewycky
Author: nicholas Date: Sat Jul 14 10:11:14 2007 New Revision: 39856 URL: http://llvm.org/viewvc/llvm-project?rev=39856&view=rev Log: Fix the build. Patch from Holger Schurig. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeD

[llvm-commits] [llvm] r39852 - /llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp

2007-07-13 Thread Nick Lewycky
Author: nicholas Date: Fri Jul 13 23:28:04 2007 New Revision: 39852 URL: http://llvm.org/viewvc/llvm-project?rev=39852&view=rev Log: Use maximal intersection algorithm exclusively. Fixes miscompile bug. Modified: llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp Modified: llvm/trunk/l

[llvm-commits] [llvm] r39851 - in /llvm/trunk: include/llvm/Support/ConstantRange.h lib/Support/ConstantRange.cpp

2007-07-13 Thread Nick Lewycky
Author: nicholas Date: Fri Jul 13 21:51:34 2007 New Revision: 39851 URL: http://llvm.org/viewvc/llvm-project?rev=39851&view=rev Log: Add alternate ConstantRange intersection algorithm. Modified: llvm/trunk/include/llvm/Support/ConstantRange.h llvm/trunk/lib/Support/ConstantRange.cpp Modi

[llvm-commits] [llvm] r38483 - /llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp

2007-07-09 Thread Nick Lewycky
Author: nicholas Date: Mon Jul 9 22:28:21 2007 New Revision: 38483 URL: http://llvm.org/viewvc/llvm-project?rev=38483&view=rev Log: Update the ValueRanges interface to use value numbers instead of Value*s. Modified: llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp Modified: llvm/tru

[llvm-commits] [llvm] r37966 - /llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp

2007-07-07 Thread Nick Lewycky
Author: nicholas Date: Sat Jul 7 11:23:34 2007 New Revision: 37966 URL: http://llvm.org/viewvc/llvm-project?rev=37966&view=rev Log: Back out Devang's fix for PR1320 because it causes PR1542. Modified: llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp Modified: llvm/trunk/lib/Transforms/Scal

[llvm-commits] [llvm] r37881 - /llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier.cpp

2007-07-04 Thread Nick Lewycky
Author: nicholas Date: Wed Jul 4 22:15:00 2007 New Revision: 37881 URL: http://llvm.org/viewvc/llvm-project?rev=37881&view=rev Log: Break "variable canonicalization" out of InequalityGraph and into its own class "ValueNumbering". Modified: llvm/trunk/lib/Transforms/Scalar/PredicateSimplifier

[llvm-commits] [llvm] r37829 - /llvm/trunk/lib/Support/MemoryBuffer.cpp

2007-06-30 Thread Nick Lewycky
Author: nicholas Date: Sat Jun 30 22:06:30 2007 New Revision: 37829 URL: http://llvm.org/viewvc/llvm-project?rev=37829&view=rev Log: Fix undefined behaviour reported by the new --enable-expensive-checks option. Modified: llvm/trunk/lib/Support/MemoryBuffer.cpp Modified: llvm/trunk/lib/Suppor

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

2007-06-28 Thread Nick Lewycky
David Greene wrote: > +// Cray [dag]: Must recompute end() each iteration because it may Please don't mark the comments as being from Cray. Just write the comment as a standard explanation. Nick ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu

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

2007-06-24 Thread Nick Lewycky
Changes in directory llvm/lib/Transforms/Scalar: PredicateSimplifier.cpp updated: 1.80 -> 1.81 --- Log message: Fix value ranges. --- Diffs of the changes: (+1 -1) PredicateSimplifier.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Scalar/Predicat

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

2007-06-23 Thread Nick Lewycky
Changes in directory llvm/lib/Transforms/Scalar: PredicateSimplifier.cpp updated: 1.79 -> 1.80 --- Log message: Remove tabs. --- Diffs of the changes: (+2 -2) PredicateSimplifier.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Transforms/Scalar/Predicate

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

2007-06-23 Thread Nick Lewycky
Changes in directory llvm/lib/Transforms/Scalar: PredicateSimplifier.cpp updated: 1.78 -> 1.79 --- Log message: Remove use of ETForest. Also cleaned up issues around unreachable basic blocks, and optimizing within one basic block. --- Diffs of the changes: (+326 -156) PredicateSimplifier.c

[llvm-commits] CVS: llvm/tools/llvm2cpp/CppWriter.cpp

2007-06-16 Thread Nick Lewycky
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.49 -> 1.50 --- Log message: Call the correct function name. Patch from Stephane Letz. --- Diffs of the changes: (+1 -1) CppWriter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llvm2cpp/Cp

[llvm-commits] CVS: llvm/test/Other/2007-06-16-Funcname.ll

2007-06-16 Thread Nick Lewycky
Changes in directory llvm/test/Other: 2007-06-16-Funcname.ll added (r1.1) --- Log message: Call the correct function name. Patch from Stephane Letz. --- Diffs of the changes: (+7 -0) 2007-06-16-Funcname.ll |7 +++ 1 files changed, 7 insertions(+) Index: llvm/test/Other/2007-06-16

Re: [llvm-commits] CVS: llvm-www/pubs/2006-10-CASES-IncreaseMem.html 2006-10-CASES-IncreaseMem.pdf index.html

2007-06-13 Thread Nick Lewycky
Chris Lattner wrote: > have only 4Ð10 KB of RAM and – ? Nick ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

[llvm-commits] CVS: llvm/lib/Support/ConstantRange.cpp

2007-06-08 Thread Nick Lewycky
Changes in directory llvm/lib/Support: ConstantRange.cpp updated: 1.45 -> 1.46 --- Log message: Fix edge case. --- Diffs of the changes: (+2 -2) ConstantRange.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Support/ConstantRange.cpp diff -u llvm/lib/Supp

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

2007-06-07 Thread Nick Lewycky
Devang Patel wrote: > On Jun 7, 2007, at 10:46 AM, Nick Lewycky wrote: >>Similarly, I pass ETNodes around to functions that don't care about >>which BB is actually involved, but do need the DFS numbers for >>whatever reason. > > In that case what's the use

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

2007-06-07 Thread Nick Lewycky
Devang Patel wrote: > On Jun 6, 2007, at 7:19 PM, Nick Lewycky wrote: > >>Predicate simplifier uses this to get the DFS nums for a BB. We also >>pass around ETNode*s to avoid having a lot of functions doing BB- >> >>>ETNode >> >>lookups. >

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

2007-06-06 Thread Nick Lewycky
Predicate simplifier uses this to get the DFS nums for a BB. We also pass around ETNode*s to avoid having a lot of functions doing BB->ETNode lookups. Similarly with updateDFSNumbers. More than a performance issue, if the DFS nums aren't up to date predsimplify will crash (and if it didn't crash i

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

2007-06-06 Thread Nick Lewycky
Chris Lattner wrote: > The only thing that can use Instructions are other intstructions. As > such, you can change the dyn_cast into cast > and there is no need to check for null in the next line. Fixed. Thanks Chris! Nick ___ llvm-commits mailing

  1   2   3   >