I can't reproduce on my Mac Pro. Can you file a bug report with a
reduce testcase?
--Owen
On Feb 18, 2008, at 1:43 PM, Evan Cheng wrote:
Hi Resistor,
This breaks MultiSource/Benchmarks/Prolangs-C++/city under x86-64.
Please take a look.
Thanks,
Evan
On Feb 17, 2008, at 1:29 PM,
Author: resistor
Date: Mon Feb 18 04:11:00 2008
New Revision: 47268
URL: http://llvm.org/viewvc/llvm-project?rev=47268&view=rev
Log:
Since we're not checking for the more general AllocationInst first, we need to
explicitly check
that Object is an Argument before casting it to one.
Modified:
On Feb 18, 2008, at 3:22 AM, Owen Anderson wrote:
Author: resistor
Date: Mon Feb 18 03:22:21 2008
New Revision: 47264
URL: http://llvm.org/viewvc/llvm-project?rev=47264&view=rev
Log:
I got the predicate backwards in my last patch. The comment is
correct, the code was not.
Oops.
Author: resistor
Date: Mon Feb 18 03:32:29 2008
New Revision: 47266
URL: http://llvm.org/viewvc/llvm-project?rev=47266&view=rev
Log:
llvm-gcc ensures (by inserting extra alloca's and memcpy's) that all sret
parameters are noalias as well.
By properly marking this as such, we can enable sret retur
Author: resistor
Date: Mon Feb 18 03:24:53 2008
New Revision: 47265
URL: http://llvm.org/viewvc/llvm-project?rev=47265&view=rev
Log:
Add support to GVN for performing sret return slot optimization. This means
that, if an sret function tail calls
another sret function, it should pass its own sret
Author: resistor
Date: Mon Feb 18 03:22:21 2008
New Revision: 47264
URL: http://llvm.org/viewvc/llvm-project?rev=47264&view=rev
Log:
I got the predicate backwards in my last patch. The comment is correct, the
code was not.
Modified:
llvm/trunk/lib/VMCore/Function.cpp
Modified: llvm/trunk/l
Author: resistor
Date: Mon Feb 18 03:11:02 2008
New Revision: 47263
URL: http://llvm.org/viewvc/llvm-project?rev=47263&view=rev
Log:
This check is not correct for mallocs, so exclude them earlier.
Modified:
llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/Basi
31 PM, Owen Anderson wrote:
Author: resistor
Date: Sun Feb 17 20:31:23 2008
New Revision: 47252
URL: http://llvm.org/viewvc/llvm-project?rev=47252&view=rev
Log:
Fix bugs that Chris noticed in my last patch.
Modified:
llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Modified: llvm/trunk/lib
Author: resistor
Date: Sun Feb 17 22:09:01 2008
New Revision: 47255
URL: http://llvm.org/viewvc/llvm-project?rev=47255&view=rev
Log:
Make the definition of the noalias attribute clearer.
Modified:
llvm/trunk/docs/LangRef.html
Modified: llvm/trunk/docs/LangRef.html
URL:
http://llvm.org/viewv
Author: resistor
Date: Sun Feb 17 22:06:26 2008
New Revision: 47254
URL: http://llvm.org/viewvc/llvm-project?rev=47254&view=rev
Log:
Duncan pointed out that we can fast fail here, because the sret parameter of
a function must be the first parameter.
Modified:
llvm/trunk/lib/VMCore/Function.cp
Author: resistor
Date: Sun Feb 17 21:52:21 2008
New Revision: 47253
URL: http://llvm.org/viewvc/llvm-project?rev=47253&view=rev
Log:
Fix a comment, and a bug where we weren't applying the tail call logic in cases
that failed the first test.
Modified:
llvm/trunk/lib/Analysis/BasicAliasAnalysi
Author: resistor
Date: Sun Feb 17 20:31:23 2008
New Revision: 47252
URL: http://llvm.org/viewvc/llvm-project?rev=47252&view=rev
Log:
Fix bugs that Chris noticed in my last patch.
Modified:
llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Author: resistor
Date: Sun Feb 17 18:10:55 2008
New Revision: 47249
URL: http://llvm.org/viewvc/llvm-project?rev=47249&view=rev
Log:
Add support for setting parameters to CallSite.
Modified:
llvm/trunk/include/llvm/Support/CallSite.h
Modified: llvm/trunk/include/llvm/Support/CallSite.h
URL:
Author: resistor
Date: Sun Feb 17 17:22:28 2008
New Revision: 47248
URL: http://llvm.org/viewvc/llvm-project?rev=47248&view=rev
Log:
Add a predicate to Argument to check for the StructRet attribute.
Modified:
llvm/trunk/include/llvm/Argument.h
llvm/trunk/lib/VMCore/Function.cpp
Modified:
Author: resistor
Date: Sun Feb 17 15:29:08 2008
New Revision: 47247
URL: http://llvm.org/viewvc/llvm-project?rev=47247&view=rev
Log:
Teach getModRefInfo that memcpy, memmove, and memset don't "capture" memory
addresses.
Also, noalias arguments are be considered "like" stack allocated ones for thi
Author: resistor
Date: Tue Feb 12 15:15:18 2008
New Revision: 47026
URL: http://llvm.org/viewvc/llvm-project?rev=47026&view=rev
Log:
Re-apply the patch to improve the optimizations of memcpy's, with several
bugs fixed. This now passes PPC bootstrap.
Modified:
llvm/trunk/include/llvm/Analysis
I should clarify that, in a general sense, RegAllocLocal does not
depend on LiveVariables, but declaring it as such seems to be
necessary to obtain a working pass ordering.
--Owen
On Feb 6, 2008, at 4:33 PM, Bill Wendling wrote:
Author: void
Date: Wed Feb 6 16:33:59 2008
New Revision: 468
Wow, that must be one hell of a CFG you're dealing with. ;-)
--Owen
On Feb 5, 2008, at 6:54 PM, Tanya Lattner wrote:
Author: tbrethou
Date: Tue Feb 5 18:54:55 2008
New Revision: 46790
URL: http://llvm.org/viewvc/llvm-project?rev=46790&view=rev
Log:
Throttle the non-local dependence analysis
Author: resistor
Date: Mon Feb 4 22:34:03 2008
New Revision: 46738
URL: http://llvm.org/viewvc/llvm-project?rev=46738&view=rev
Log:
Fix an obscure read-after-free bug that Duncan found.
Modified:
llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/MemoryDe
Author: resistor
Date: Sun Feb 3 22:55:24 2008
New Revision: 46695
URL: http://llvm.org/viewvc/llvm-project?rev=46695&view=rev
Log:
Make this test more aggressive, to cover recent improvements.
Modified:
llvm/trunk/test/Transforms/GVN/memcpy.ll
Modified: llvm/trunk/test/Transforms/GVN/memcp
Author: resistor
Date: Sun Feb 3 22:53:00 2008
New Revision: 46694
URL: http://llvm.org/viewvc/llvm-project?rev=46694&view=rev
Log:
Be more precise when eliminating pointers bue to memcpy's. This allows more
stores to be deleted in some cases.
Modified:
llvm/trunk/lib/Transforms/Scalar/Dead
Author: resistor
Date: Sun Feb 3 20:59:58 2008
New Revision: 46693
URL: http://llvm.org/viewvc/llvm-project?rev=46693&view=rev
Log:
Allow GVN to hack on memcpy's, making them open to further optimization.
Added:
llvm/trunk/test/Transforms/GVN/memcpy.ll
Modified:
llvm/trunk/lib/Transforms
Author: resistor
Date: Tue Jan 29 19:24:47 2008
New Revision: 46542
URL: http://llvm.org/viewvc/llvm-project?rev=46542&view=rev
Log:
Make DSE much more aggressive by performing DCE earlier. Update a testcase to
reflect this increased aggressiveness.
Modified:
llvm/trunk/lib/Transforms/Scala
Author: resistor
Date: Tue Jan 29 19:24:05 2008
New Revision: 46541
URL: http://llvm.org/viewvc/llvm-project?rev=46541&view=rev
Log:
Fix an issue where, under very specific circumstances, memdep could end up
dereferencing the end
of one of its internal maps.
Modified:
llvm/trunk/lib/Analysis
Author: resistor
Date: Tue Jan 29 00:40:32 2008
New Revision: 46497
URL: http://llvm.org/viewvc/llvm-project?rev=46497&view=rev
Log:
Add a testcase for eliminating memcpy's at the end of functions. Forgot to
commit this with my last commit.
Added:
llvm/trunk/test/Transforms/DeadStoreElimina
Author: resistor
Date: Tue Jan 29 00:18:36 2008
New Revision: 46494
URL: http://llvm.org/viewvc/llvm-project?rev=46494&view=rev
Log:
Add support for eliminating memcpy's at the end of functions. Also fix some
errors I noticed in
the handling of eliminating stores to byval arguments.
Modified:
Author: resistor
Date: Mon Jan 28 20:32:13 2008
New Revision: 46488
URL: http://llvm.org/viewvc/llvm-project?rev=46488&view=rev
Log:
RegAllocBigBlock doesn't need LiveVariables either.
Modified:
llvm/trunk/lib/CodeGen/RegAllocBigBlock.cpp
Modified: llvm/trunk/lib/CodeGen/RegAllocBigBlock.cpp
Author: resistor
Date: Sun Jan 27 16:00:00 2008
New Revision: 46420
URL: http://llvm.org/viewvc/llvm-project?rev=46420&view=rev
Log:
Reg alloc doesn't really need LiveVariables.
Modified:
llvm/trunk/lib/CodeGen/RegAllocLocal.cpp
Modified: llvm/trunk/lib/CodeGen/RegAllocLocal.cpp
URL:
http:/
Author: resistor
Date: Sun Jan 27 13:51:03 2008
New Revision: 46419
URL: http://llvm.org/viewvc/llvm-project?rev=46419&view=rev
Log:
Fixes for BreakCriticalMachineCodeEdge by Fernando.
Modified:
llvm/trunk/include/llvm/CodeGen/BreakCriticalMachineEdge.h
Modified: llvm/trunk/include/llvm/Code
Author: resistor
Date: Fri Jan 25 04:10:33 2008
New Revision: 46351
URL: http://llvm.org/viewvc/llvm-project?rev=46351&view=rev
Log:
DeadStoreElimination can treat byval parameters as if there were alloca's for
the purpose of removing end-of-function stores.
Added:
llvm/trunk/test/Transforms
on block. This decides
> whether to place the copy in the definition block or in the use block?
>
> Evan
>
> On Jan 21, 2008, at 2:03 PM, Owen Anderson wrote:
>
>> Author: resistor
>> Date: Mon Jan 21 16:03:00 2008
>> New Revision: 46218
>>
>> URL: http:
Evan, Chris,
I've confirmed that basic testcases appear to be working with this
change.
--Owen
On Jan 24, 2008, at 6:34 PM, Anton Korobeynikov wrote:
Author: asl
Date: Thu Jan 24 18:34:13 2008
New Revision: 46337
URL: http://llvm.org/viewvc/llvm-project?rev=46337&view=rev
Log:
Provide cor
Author: resistor
Date: Wed Jan 23 19:10:07 2008
New Revision: 46295
URL: http://llvm.org/viewvc/llvm-project?rev=46295&view=rev
Log:
Move some functionality for adding flags to MachineInstr's into methods on
MachineInstr rather than LiveVariables.
Modified:
llvm/trunk/include/llvm/CodeGen/Li
Author: resistor
Date: Tue Jan 22 17:58:54 2008
New Revision: 46263
URL: http://llvm.org/viewvc/llvm-project?rev=46263&view=rev
Log:
Fix an iterator invalidation issue.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
URL:
h
Author: resistor
Date: Mon Jan 21 16:03:00 2008
New Revision: 46218
URL: http://llvm.org/viewvc/llvm-project?rev=46218&view=rev
Log:
Clarify a deviation from the original algorithm.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/StrongPHIEliminatio
Author: resistor
Date: Mon Jan 21 16:01:01 2008
New Revision: 46217
URL: http://llvm.org/viewvc/llvm-project?rev=46217&view=rev
Log:
Improve a few comments.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
URL:
http://llvm.o
Author: resistor
Date: Tue Jan 15 16:58:11 2008
New Revision: 46027
URL: http://llvm.org/viewvc/llvm-project?rev=46027&view=rev
Log:
Move some calls to getVRegDef higher in the callgraph, so they don't get
executed as frequently in performance sensitive code.
Modified:
llvm/trunk/include/llv
Ach, sorry.
--Owen
On Jan 15, 2008, at 4:19 PM, Evan Cheng wrote:
Author: evancheng
Date: Tue Jan 15 16:19:35 2008
New Revision: 46021
URL: http://llvm.org/viewvc/llvm-project?rev=46021&view=rev
Log:
Unbreak the build.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveVariables.h
Modified: l
Author: resistor
Date: Tue Jan 15 16:02:46 2008
New Revision: 46016
URL: http://llvm.org/viewvc/llvm-project?rev=46016&view=rev
Log:
Remove DefInst from LiveVariables::VarInfo. Use the facilities on
MachineRegisterInfo instead.
Modified:
llvm/trunk/lib/CodeGen/LiveVariables.cpp
llvm/tru
On Jan 10, 2008, at 1:41 AM, Evan Cheng wrote:
+ MachineRegisterInfo& MRI = mbb->getParent()->getRegInfo();
I think that MRI should become and ivar in liveintervalanalysis.
Yes, there is an ivar mri_.
No, it doesn't. That's an MRegisterInfo, not a MachineRegisterInfo.
No wonder y
Oh, and it did pass SPEC2000 and SPEC2006, so it can't be too wrong,
can it?
--Owen
On Jan 9, 2008, at 10:44 PM, Owen Anderson wrote:
You really need to address these to Evan. I asked him what to do
for LiveIntervalAnalysis, and this is what he told me :-)
--Owen
On Jan 9, 2008,
You really need to address these to Evan. I asked him what to do for
LiveIntervalAnalysis, and this is what he told me :-)
--Owen
On Jan 9, 2008, at 10:08 PM, Chris Lattner wrote:
URL: http://llvm.org/viewvc/llvm-project?rev=45815&view=rev
Log:
Don't use LiveVariables::VarInfo::DefInst.
C
Author: resistor
Date: Wed Jan 9 21:12:54 2008
New Revision: 45815
URL: http://llvm.org/viewvc/llvm-project?rev=45815&view=rev
Log:
Don't use LiveVariables::VarInfo::DefInst.
Modified:
llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
What can I say, she's scarier than you. :-p
--Owen
On Jan 9, 2008, at 7:55 PM, Evan Cheng wrote:
Geeze. I asked for comments and was ignored. Tanya asks for it and
she gets it right away. :-)
Evan
On Jan 9, 2008, at 5:15 PM, Tanya Lattner wrote:
Nice!
On Jan 9, 2008, at 4:47 PM,
There's more in the pipeline too.
--Owen
On Jan 9, 2008, at 7:15 PM, Tanya Lattner wrote:
Nice!
On Jan 9, 2008, at 4:47 PM, Owen Anderson wrote:
Author: resistor
Date: Wed Jan 9 18:47:01 2008
New Revision: 45799
URL: http://llvm.org/viewvc/llvm-project?rev=45799&view=rev
Log:
Author: resistor
Date: Wed Jan 9 19:36:43 2008
New Revision: 45805
URL: http://llvm.org/viewvc/llvm-project?rev=45805&view=rev
Log:
Get rid of all uses of LiveVariables::VarInfo::DefInst in favor of the
equivalent API from
MachineRegisterInfo. Once all clients are switched over, the former will
Author: resistor
Date: Wed Jan 9 18:47:01 2008
New Revision: 45799
URL: http://llvm.org/viewvc/llvm-project?rev=45799&view=rev
Log:
Add more comments explaining the basics of how the decision of when to rename
and when to insert
copies is made.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElim
Author: resistor
Date: Wed Jan 9 18:33:11 2008
New Revision: 45797
URL: http://llvm.org/viewvc/llvm-project?rev=45797&view=rev
Log:
Get rid of the isKillInst predicate. LiveVariables already provides this
information.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llv
Author: resistor
Date: Wed Jan 9 18:01:41 2008
New Revision: 45791
URL: http://llvm.org/viewvc/llvm-project?rev=45791&view=rev
Log:
Copies need to be inserted before the first terminator, not at the end of the
block.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/
Author: resistor
Date: Wed Jan 9 16:40:54 2008
New Revision: 45783
URL: http://llvm.org/viewvc/llvm-project?rev=45783&view=rev
Log:
Clean up StrongPHIElimination a bit, and add some more comments to the internal
structures. There's
still more work to do on this front.
Modified:
llvm/trunk/
Author: resistor
Date: Wed Jan 9 04:41:39 2008
New Revision: 45775
URL: http://llvm.org/viewvc/llvm-project?rev=45775&view=rev
Log:
StrongPHIElim: Now with even fewer trivial bugs!
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/StrongPHIEliminatio
Author: resistor
Date: Wed Jan 9 04:32:30 2008
New Revision: 45774
URL: http://llvm.org/viewvc/llvm-project?rev=45774&view=rev
Log:
Fix an infinite recursion bug in InsertCopies.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.
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/
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
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
Author: resistor
Date: Mon Jan 7 15:32:09 2008
New Revision: 45719
URL: http://llvm.org/viewvc/llvm-project?rev=45719&view=rev
Log:
Oops, missed one.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
URL:
http://llvm.org/vie
Author: resistor
Date: Mon Jan 7 15:30:40 2008
New Revision: 45718
URL: http://llvm.org/viewvc/llvm-project?rev=45718&view=rev
Log:
Make some predicates static.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
URL:
http://l
Author: resistor
Date: Sun Jan 6 19:35:56 2008
New Revision: 45673
URL: http://llvm.org/viewvc/llvm-project?rev=45673&view=rev
Log:
Update CodeGen for MRegisterInfo --> TargetInstrInfo changes.
Modified:
llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
llvm/trunk/lib/CodeGen/RegAllocBigBl
Fixed.
On Jan 4, 2008, at 6:40 PM, Dale Johannesen wrote:
Somebody forget to check something in?
llvm[2]: Compiling PrologEpilogInserter.cpp for Debug build
PrologEpilogInserter.cpp: In member function
‘void
::PEI::saveCalleeSavedRegisters(llvm::MachineFunction&)’:
PrologEpilogInserter.cpp:252
Author: resistor
Date: Fri Jan 4 18:48:55 2008
New Revision: 45608
URL: http://llvm.org/viewvc/llvm-project?rev=45608&view=rev
Log:
I should not be allowed to commit when sleepy.
Modified:
llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
Modified: llvm/trunk/lib/CodeGen/PrologEpilogInserter.
Author: resistor
Date: Fri Jan 4 18:43:37 2008
New Revision: 45607
URL: http://llvm.org/viewvc/llvm-project?rev=45607&view=rev
Log:
Didn't mean to commit this.
Modified:
llvm/trunk/include/llvm/Transforms/Scalar.h
Modified: llvm/trunk/include/llvm/Transforms/Scalar.h
URL:
http://llvm.org/v
Author: resistor
Date: Fri Jan 4 18:42:45 2008
New Revision: 45606
URL: http://llvm.org/viewvc/llvm-project?rev=45606&view=rev
Log:
Didn't mean to commit this.
Modified:
llvm/trunk/include/llvm/LinkAllPasses.h
Modified: llvm/trunk/include/llvm/LinkAllPasses.h
URL:
http://llvm.org/viewvc/ll
Author: resistor
Date: Fri Jan 4 17:57:37 2008
New Revision: 45603
URL: http://llvm.org/viewvc/llvm-project?rev=45603&view=rev
Log:
Move some more functionality from MRegisterInfo to TargetInstrInfo.
Modified:
llvm/trunk/include/llvm/LinkAllPasses.h
llvm/trunk/include/llvm/Target/MRegist
Could we add a test for this to the LLVM regression tests? I think
most people check them before committing things.
--Owen
On Jan 4, 2008, at 4:56 PM, Dale Johannesen wrote:
This patch does not make the corresponding change in llvm-gcc-4.*/
gcc/config/i386/llvm-i386.cpp, with the effect tha
On Dec 31, 2007, at 2:09 PM, Chris Lattner wrote:
> On Dec 30, 2007, at 10:32 PM, Owen Anderson wrote:
>> URL: http://llvm.org/viewvc/llvm-project?rev=45470&view=rev
>> Log:
>> Move copyRegToReg from MRegisterInfo to TargetInstrInfo. This is
>> part of the
>>
On Dec 31, 2007, at 5:48 AM, Bill Wendling wrote:
> Is there any reason not to make this a pure virtual function?
>
> Just wondering. :-)
Just matching the style of TargetInstrInfo functions, like InsertBranch.
--Owen
___
llvm-commits mailing list
llvm-
Author: resistor
Date: Mon Dec 31 00:32:00 2007
New Revision: 45470
URL: http://llvm.org/viewvc/llvm-project?rev=45470&view=rev
Log:
Move copyRegToReg from MRegisterInfo to TargetInstrInfo. This is part of the
Machine-level API cleanup instigated by Chris.
Modified:
llvm/trunk/include/llvm/T
Author: resistor
Date: Fri Dec 28 15:08:43 2007
New Revision: 45386
URL: http://llvm.org/viewvc/llvm-project?rev=45386&view=rev
Log:
Add a testcase for my recent InstCombine fix, written by Nicholas.
Added:
llvm/trunk/test/Transforms/InstCombine/2007-12-28-IcmpSub2.ll
Added: llvm/trunk/test/
Author: resistor
Date: Fri Dec 28 01:42:12 2007
New Revision: 45384
URL: http://llvm.org/viewvc/llvm-project?rev=45384&view=rev
Log:
Repair a transform that Chris noticed a bug in. Thanks to Nicholas for
pointing out my stupid mistakes when writing this patch. :-)
Modified:
llvm/trunk/lib/T
Author: resistor
Date: Mon Dec 24 16:12:23 2007
New Revision: 45347
URL: http://llvm.org/viewvc/llvm-project?rev=45347&view=rev
Log:
Flesh out the Briggs implementation a little bit more, fix a few FIXMEs.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/Cod
Author: resistor
Date: Sun Dec 23 14:34:06 2007
New Revision: 45337
URL: http://llvm.org/viewvc/llvm-project?rev=45337&view=rev
Log:
Get rid of an unneeded #include.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineDominators.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineDominators.h
UR
Author: resistor
Date: Sun Dec 23 09:37:26 2007
New Revision: 45334
URL: http://llvm.org/viewvc/llvm-project?rev=45334&view=rev
Log:
Sketch out an implementation of Briggs' copy placement algorithm.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/St
Author: resistor
Date: Sun Dec 23 09:16:46 2007
New Revision: 45333
URL: http://llvm.org/viewvc/llvm-project?rev=45333&view=rev
Log:
Add GraphTraits specializations for machine dominators.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineDominators.h
Modified: llvm/trunk/include/llvm/CodeGen
Author: resistor
Date: Fri Dec 21 22:59:10 2007
New Revision: 45310
URL: http://llvm.org/viewvc/llvm-project?rev=45310&view=rev
Log:
Note what still needs doing.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
URL:
http://l
Author: resistor
Date: Fri Dec 21 22:50:11 2007
New Revision: 45309
URL: http://llvm.org/viewvc/llvm-project?rev=45309&view=rev
Log:
Remove critical edge breaking. It won't be necessary as long as we are very
careful when inserting copies.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIEliminati
Author: resistor
Date: Sat Dec 15 23:44:27 2007
New Revision: 45070
URL: http://llvm.org/viewvc/llvm-project?rev=45070&view=rev
Log:
Break local interferences in StrongPHIElimination. One step closer...
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeG
Author: resistor
Date: Sat Dec 15 22:07:23 2007
New Revision: 45069
URL: http://llvm.org/viewvc/llvm-project?rev=45069&view=rev
Log:
A few more comments.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
URL:
http://llvm.org/
Author: resistor
Date: Wed Dec 12 23:53:03 2007
New Revision: 44987
URL: http://llvm.org/viewvc/llvm-project?rev=44987&view=rev
Log:
Add register pairs to the list to check for local interferences.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/Str
Author: resistor
Date: Wed Dec 12 23:43:37 2007
New Revision: 44986
URL: http://llvm.org/viewvc/llvm-project?rev=44986&view=rev
Log:
Remove ugly and horrible code. It's not necessary for correctness, and can be
added back later if it causes code quality issues.
Modified:
llvm/trunk/lib/Code
Author: resistor
Date: Tue Dec 11 19:25:08 2007
New Revision: 44902
URL: http://llvm.org/viewvc/llvm-project?rev=44902&view=rev
Log:
Forgot to remove a register from the PHI-union after I'd determined that it
interfered with other registers. Seems like that might be a good thing to do.
:-)
Modi
Author: resistor
Date: Tue Dec 11 14:12:11 2007
New Revision: 44877
URL: http://llvm.org/viewvc/llvm-project?rev=44877&view=rev
Log:
More progress on StrongPHIElimination. Now we actually USE the DomForest!
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/C
Author: resistor
Date: Mon Dec 10 02:07:09 2007
New Revision: 44786
URL: http://llvm.org/viewvc/llvm-project?rev=44786&view=rev
Log:
A little more progress on StrongPHIElimination, now that I have a better sense
of
how the CodeGen machinery works.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIEl
Author: resistor
Date: Fri Dec 7 19:37:09 2007
New Revision: 44695
URL: http://llvm.org/viewvc/llvm-project?rev=44695&view=rev
Log:
Fix several cache coherence bugs in MemDep/GVN that were found. Also add some
(disabled) debugging code
to make such problems easier to diagnose in the future, wri
Author: resistor
Date: Thu Dec 6 22:04:55 2007
New Revision: 44674
URL: http://llvm.org/viewvc/llvm-project?rev=44674&view=rev
Log:
Fix a stupid error that Chris pointed out.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineLoopInfo.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineLoopInf
Author: resistor
Date: Fri Nov 30 21:01:39 2007
New Revision: 44480
URL: http://llvm.org/viewvc/llvm-project?rev=44480&view=rev
Log:
Fixes for MachineLoopInfo, mostly from Evan. With these, it should be almost
useable!
Modified:
llvm/trunk/include/llvm/Analysis/LoopInfo.h
llvm/trunk/inc
Author: resistor
Date: Thu Nov 29 12:02:22 2007
New Revision: 44437
URL: http://llvm.org/viewvc/llvm-project?rev=44437&view=rev
Log:
Fix a miscompilation in spiff on PPC.
Modified:
llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/GVN.cpp
URL:
http://llvm.o
All of these are copy-and-pasted from LoopInfo.h. If they're wrong,
it's wrong too. I'll investigate.
--Owen
On Nov 27, 2007, at 7:51 PM, Bill Wendling wrote:
Hi Owen,
Thanks! :-) A few comments:
+ // isLoopHeader - True if the block is a loop header node
You probably want a /// comm
/CodeGen/MachineLoopInfo.h - Natural Loop Calculator -*- C++
-*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by Owen Anderson and is distributed under
+// the University of Illinois Open Source
Author: resistor
Date: Mon Nov 26 21:43:35 2007
New Revision: 44348
URL: http://llvm.org/viewvc/llvm-project?rev=44348&view=rev
Log:
Make LoopInfoBase more generic, in preparation for having MachineLoopInfo.
This involves a small interface change.
Modified:
llvm/trunk/include/llvm/Analysis/
Author: resistor
Date: Mon Nov 26 21:33:40 2007
New Revision: 44347
URL: http://llvm.org/viewvc/llvm-project?rev=44347&view=rev
Log:
Add accessor for getting the underlying templated type. This is necessary for
templated LoopInfo.
Modified:
llvm/trunk/include/llvm/Analysis/Dominators.h
Author: resistor
Date: Mon Nov 26 01:17:19 2007
New Revision: 44325
URL: http://llvm.org/viewvc/llvm-project?rev=44325&view=rev
Log:
Fix another bug that was causing siod to fail.
Modified:
llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/GVN.cpp
URL:
http
Author: resistor
Date: Sun Nov 25 21:27:38 2007
New Revision: 44324
URL: http://llvm.org/viewvc/llvm-project?rev=44324&view=rev
Log:
Fix a silly bug that Nicholas noticed.
Modified:
llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/MemoryDependenceAnalysi
Author: resistor
Date: Sun Nov 25 20:26:36 2007
New Revision: 44323
URL: http://llvm.org/viewvc/llvm-project?rev=44323&view=rev
Log:
Allow GVN to eliminate read-only function calls when it can detect that they
are redundant.
Modified:
llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
Author: resistor
Date: Mon Nov 19 10:10:59 2007
New Revision: 44236
URL: http://llvm.org/viewvc/llvm-project?rev=44236&view=rev
Log:
Teach me to do stuff late at night.
Modified:
llvm/trunk/docs/tutorial/JITTutorial2.html
Modified: llvm/trunk/docs/tutorial/JITTutorial2.html
URL:
http://llvm
Author: resistor
Date: Mon Nov 19 01:44:43 2007
New Revision: 44228
URL: http://llvm.org/viewvc/llvm-project?rev=44228&view=rev
Log:
Fix a factually incorrect statement pointed out by Max Hailperin.
Modified:
llvm/trunk/docs/tutorial/JITTutorial2.html
Modified: llvm/trunk/docs/tutorial/JITTu
Author: resistor
Date: Wed Nov 14 23:00:15 2007
New Revision: 44158
URL: http://llvm.org/viewvc/llvm-project?rev=44158&view=rev
Log:
More templatization.
Modified:
llvm/trunk/include/llvm/Analysis/LoopInfo.h
llvm/trunk/lib/Analysis/LoopInfo.cpp
Modified: llvm/trunk/include/llvm/Analysis/
Author: resistor
Date: Tue Nov 13 20:33:58 2007
New Revision: 44097
URL: http://llvm.org/viewvc/llvm-project?rev=44097&view=rev
Log:
Start the process of making MachineLoopInfo possible by templating Loop.
Modified:
llvm/trunk/include/llvm/Analysis/LoopInfo.h
llvm/trunk/include/llvm/Analy
On Nov 13, 2007, at 5:04 PM, Hartmut Kaiser wrote:
-return iterator(this, ~0);
+return iterator(this, true);
I'm not sure this is right. Is "true" guaranteed to be all-ones when
cast to an integer, or just to contain at least one 1 bit? If the
latter, then this patch changes the m
Author: resistor
Date: Tue Nov 13 14:13:24 2007
New Revision: 44064
URL: http://llvm.org/viewvc/llvm-project?rev=44064&view=rev
Log:
Run computeDomForest() on the set of registers that need to be tested for
interference.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llv
Author: resistor
Date: Tue Nov 13 14:04:45 2007
New Revision: 44063
URL: http://llvm.org/viewvc/llvm-project?rev=44063&view=rev
Log:
Preserve LiveVariables when doing critical edge splitting.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/StrongPHI
1 - 100 of 623 matches
Mail list logo