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
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
>
> =
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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:
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
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
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:
>
>> ==
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
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
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
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
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
>
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
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
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
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
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
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
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-
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
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:
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
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
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-
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
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
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
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
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/
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
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
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:
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
___
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-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
>
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
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 - 100 of 236 matches
Mail list logo