Re: [llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.cpp ARMInstrInfo.h ARMTargetMachine.cpp ARMTargetMachine.h

2007-05-15 Thread Chris Lattner
> Hooks for predication support. yay! > +bool ARMInstrInfo::isPredicatable(MachineInstr *MI) const { > + const TargetInstrDescriptor *TID = MI->getInstrDescriptor(); > + if (TID->Flags & M_PREDICATED) > +return true; > + > + unsigned Opc = MI->getOpcode(); > + return Opc == ARM::B || Opc

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

2007-05-15 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.305 -> 1.306 --- Log message: Use a ptr set instead of a linear search to unique TokenFactor operands. This fixes PR1423: http://llvm.org/PR1423 --- Diffs of the changes: (+13 -10) DAGCombiner.cpp | 23 ++

[llvm-commits] CVS: llvm/test/CodeGen/X86/2007-05-15-maskmovq.ll

2007-05-15 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: 2007-05-15-maskmovq.ll added (r1.1) --- Log message: testcase for maskmovq --- Diffs of the changes: (+14 -0) 2007-05-15-maskmovq.ll | 14 ++ 1 files changed, 14 insertions(+) Index: llvm/test/CodeGen/X86/2007-05-15-maskmovq.ll di

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrMMX.td

2007-05-15 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86InstrMMX.td updated: 1.31 -> 1.32 --- Log message: implement the missing maskmovq mmx intrinsic that akor hit. --- Diffs of the changes: (+3 -1) X86InstrMMX.td |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/lib/Target

[llvm-commits] CVS: llvm/include/llvm/IntrinsicsX86.td

2007-05-15 Thread Chris Lattner
Changes in directory llvm/include/llvm: IntrinsicsX86.td updated: 1.44 -> 1.45 --- Log message: add missing mmx intrinsic --- Diffs of the changes: (+4 -0) IntrinsicsX86.td |4 1 files changed, 4 insertions(+) Index: llvm/include/llvm/IntrinsicsX86.td diff -u llvm/include/llvm/I

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp

2007-05-15 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMConstantIslandPass.cpp updated: 1.43 -> 1.44 --- Log message: Fix comment. --- Diffs of the changes: (+1 -1) ARMConstantIslandPass.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/ARM/ARMConstantIslandPass.cp

[llvm-commits] CVS: llvm/lib/CodeGen/IfConversion.cpp

2007-05-15 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: IfConversion.cpp updated: 1.1 -> 1.2 --- Log message: Devang points out that we need an assertion here. --- Diffs of the changes: (+2 -0) IfConversion.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/CodeGen/IfConversion.cpp diff -u ll

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

2007-05-15 Thread Evan Cheng
Unless I am reading the code wrong... :-) Evan On May 15, 2007, at 10:09 PM, Evan Cheng wrote: It shouldn't. :-) I am missing an assert. This check earlier ensures that the block ends with either a conditional branch or a conditional branch + a unconditional branch. if (TII->AnalyzeBranch

[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h

2007-05-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: TargetInstrInfo.h updated: 1.116 -> 1.117 --- Log message: Fix comments. --- Diffs of the changes: (+10 -4) TargetInstrInfo.h | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) Index: llvm/include/llvm/Target/TargetInstr

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

2007-05-15 Thread Evan Cheng
It shouldn't. :-) I am missing an assert. This check earlier ensures that the block ends with either a conditional branch or a conditional branch + a unconditional branch. if (TII->AnalyzeBranch(*BB, BBI.TBB, BBI.FBB, BBI.Cond) || !BBI.TBB || BBI.Cond.size() == 0) BBI.FBB is only NULL

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

2007-05-15 Thread Devang Patel
On May 15, 2007, at 7:01 PM, Evan Cheng wrote: + if (!BBI.FBB) + BBI.FBB = findFalseBlock(BB, BBI.TBB); + AnalyzeBlock(BBI.FBB); + BBInfo &FBBI = BBAnalysis[BBI.FBB->getNumber()]; If findFalseBlock returns NULL then AnalyzeBlock may crash here. - Devang_

[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp

2007-05-15 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Execution.cpp updated: 1.181 -> 1.182 --- Log message: Implement printing of instruction result values when debug info is turned on. This helps to speed up the debugging time by showing computational results as the program executes.

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

2007-05-15 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.304 -> 1.305 --- Log message: Bug fix: should check ABI alignment, not pref. alignment. --- Diffs of the changes: (+2 -2) DAGCombiner.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llv

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.cpp ARMInstrInfo.h ARMTargetMachine.cpp ARMTargetMachine.h

2007-05-15 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.cpp updated: 1.24 -> 1.25 ARMInstrInfo.h updated: 1.7 -> 1.8 ARMTargetMachine.cpp updated: 1.26 -> 1.27 ARMTargetMachine.h updated: 1.9 -> 1.10 --- Log message: Hooks for predication support. --- Diffs of the changes: (+39 -0) ARMInstrI

[llvm-commits] CVS: llvm/lib/CodeGen/IfConversion.cpp

2007-05-15 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: IfConversion.cpp added (r1.1) --- Log message: Initial commit of (very basic) if converter. --- Diffs of the changes: (+304 -0) IfConversion.cpp | 304 +++ 1 files changed, 304 insertions(+) Index:

[llvm-commits] CVS: llvm/include/llvm/CodeGen/Passes.h

2007-05-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: Passes.h updated: 1.24 -> 1.25 --- Log message: Initial commit of (very basic) if converter. --- Diffs of the changes: (+3 -0) Passes.h |3 +++ 1 files changed, 3 insertions(+) Index: llvm/include/llvm/CodeGen/Passes.h diff -u llvm/inclu

[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h

2007-05-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: TargetInstrInfo.h updated: 1.115 -> 1.116 --- Log message: Add TargetInstrInfo predication hooks. --- Diffs of the changes: (+14 -0) TargetInstrInfo.h | 14 ++ 1 files changed, 14 insertions(+) Index: llvm/include/llvm/Target/Ta

[llvm-commits] CVS: llvm-www/DevMtgMay2007.html

2007-05-15 Thread Reid Spencer
Changes in directory llvm-www: DevMtgMay2007.html updated: 1.142 -> 1.143 --- Log message: Seriously, I do know how to alphabetize if I'm not rushed to go out the door. --- Diffs of the changes: (+2 -2) DevMtgMay2007.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Inde

[llvm-commits] [127292] Fix PR 1419

2007-05-15 Thread dpatel
Revision: 127292 Author: dpatel Date: 2007-05-15 16:46:37 -0700 (Tue, 15 May 2007) Log Message: --- Fix PR 1419 http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070514/049641.html Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified:

[llvm-commits] CVS: llvm/test/CFrontend/2007-05-15-PaddingElement.c

2007-05-15 Thread Devang Patel
Changes in directory llvm/test/CFrontend: 2007-05-15-PaddingElement.c added (r1.1) --- Log message: New test. --- Diffs of the changes: (+23 -0) 2007-05-15-PaddingElement.c | 23 +++ 1 files changed, 23 insertions(+) Index: llvm/test/CFrontend/2007-05-15-PaddingElem

[llvm-commits] CVS: llvm-www/DevMtgMay2007.html

2007-05-15 Thread Reid Spencer
Changes in directory llvm-www: DevMtgMay2007.html updated: 1.141 -> 1.142 --- Log message: Confirm Lang Hames. --- Diffs of the changes: (+4 -4) DevMtgMay2007.html |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm-www/DevMtgMay2007.html diff -u llvm-www/DevMtg

[llvm-commits] CVS: llvm-www/developers.txt

2007-05-15 Thread Reid Spencer
Changes in directory llvm-www: developers.txt updated: 1.13 -> 1.14 --- Log message: Add Rafael. --- Diffs of the changes: (+1 -0) developers.txt |1 + 1 files changed, 1 insertion(+) Index: llvm-www/developers.txt diff -u llvm-www/developers.txt:1.13 llvm-www/developers.txt:1.14 ---

[llvm-commits] CVS: llvm-www/img/PhotoRafael.jpg

2007-05-15 Thread Reid Spencer
Changes in directory llvm-www/img: PhotoRafael.jpg added (r1.1) --- Log message: Add Rafael. --- Diffs of the changes: (+0 -0) PhotoRafael.jpg |0 1 files changed Index: llvm-www/img/PhotoRafael.jpg ___ llvm-commits mailing list llvm-co

[llvm-commits] CVS: llvm-www/DevMtgMay2007.html

2007-05-15 Thread Jeff Cohen
Changes in directory llvm-www: DevMtgMay2007.html updated: 1.140 -> 1.141 --- Log message: I won't be able to attend. --- Diffs of the changes: (+4 -10) DevMtgMay2007.html | 14 -- 1 files changed, 4 insertions(+), 10 deletions(-) Index: llvm-www/DevMtgMay2007.html diff -u l

[llvm-commits] CVS: llvm/lib/CodeGen/BranchFolding.cpp

2007-05-15 Thread Dale Johannesen
Changes in directory llvm/lib/CodeGen: BranchFolding.cpp updated: 1.52 -> 1.53 --- Log message: Remove extra CFG edges before doing these passes; it makes them happier. --- Diffs of the changes: (+16 -1) BranchFolding.cpp | 17 - 1 files changed, 16 insertions(+), 1 delet

[llvm-commits] CVS: llvm/test/CFrontend/nested-functions.c

2007-05-15 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: nested-functions.c updated: 1.1 -> 1.2 --- Log message: add PR number and testcase from the PR. --- Diffs of the changes: (+8 -0) nested-functions.c |8 1 files changed, 8 insertions(+) Index: llvm/test/CFrontend/nested-functions.c d

[llvm-commits] [127290] Fix a bug handling nested functions, due to LLVM' s handled_component_p working

2007-05-15 Thread clattner
Revision: 127290 Author: clattner Date: 2007-05-15 13:30:21 -0700 (Tue, 15 May 2007) Log Message: --- Fix a bug handling nested functions, due to LLVM's handled_component_p working a bit differently. This fixes an infinite recursion on test/CFrontend/nested-functions.c Modified Pat

[llvm-commits] CVS: llvm/test/CFrontend/nested-functions.c

2007-05-15 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: nested-functions.c added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+10 -0) nested-functions.c | 10 ++ 1 files changed, 10 insertions(+) Index: llvm/test/CFrontend/nested-functions.c diff -c /dev/null llvm/test/CFr

Re: [llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-05-15 Thread Chris Lattner
>> If the bug was with ISD::Constant's, >> this is a serious bug and this is not the right fix. > > Huh? It has nothing to do with ISD::Constants. Remember > PredicateOperand with ExecuteAlways value is not part of the target > independent DAG. So something like this: > > def BL : I<(ops i32imm:

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

2007-05-15 Thread Chris Lattner
> Fix an infinite recursion in GetNegatedExpression. Doh, thanks a lot Lauro! -Chris > > > --- > Diffs of the changes: (+1 -1) > > DAGCombiner.cpp |2 +- > 1 files changed, 1 insertion(+), 1 deletion(-) > > > Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp > diff -u llvm/lib/CodeGen/S

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

2007-05-15 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.303 -> 1.304 --- Log message: Fix an infinite recursion in GetNegatedExpression. --- Diffs of the changes: (+1 -1) DAGCombiner.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Code

[llvm-commits] CVS: llvm/test/CodeGen/Generic/2007-05-15-InfiniteRecursion.ll

2007-05-15 Thread Lauro Ramos Venancio
Changes in directory llvm/test/CodeGen/Generic: 2007-05-15-InfiniteRecursion.ll added (r1.1) --- Log message: Fix an infinite recursion in GetNegatedExpression. --- Diffs of the changes: (+90 -0) 2007-05-15-InfiniteRecursion.ll | 90 1 files chang

[llvm-commits] CVS: llvm/test/C++Frontend/2007-05-15-FieldAccess.cpp

2007-05-15 Thread LLVM
Changes in directory llvm/test/C++Frontend: 2007-05-15-FieldAccess.cpp (r1.1) removed --- Log message: Don't put test cases into regression test suite before the bug is fixed. --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits

[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp

2007-05-15 Thread Duncan Sands
Changes in directory llvm/lib/CodeGen: DwarfWriter.cpp updated: 1.144 -> 1.145 --- Log message: The index into the actions table is a ULEB128 not a SLEB128. --- Diffs of the changes: (+1 -1) DwarfWriter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen

[llvm-commits] CVS: llvm/docs/ReleaseNotes.html

2007-05-15 Thread Nicolas Geoffray
Changes in directory llvm/docs: ReleaseNotes.html updated: 1.375 -> 1.376 --- Log message: Note on current implementation of ELF32/PPC ABI. --- Diffs of the changes: (+3 -1) ReleaseNotes.html |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/docs/ReleaseNotes.html

Re: [llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2007-05-15 Thread Evan Cheng
On May 14, 2007, at 10:57 PM, Chris Lattner wrote: >> PredicateOperand related bug fix. >> @@ -2899,7 +2901,7 @@ >>else if (NodeHasOptInFlag) >> EndAdjust = "-(HasInFlag?1:0)"; // May have a flag. >> >> - emitCode("for (unsigned i = " + utostr(NumInputs) + >> +

Re: [llvm-commits] CVS: llvm/test/C++Frontend/2007-05-15-FieldAccess.cpp

2007-05-15 Thread Chris Lattner
On May 15, 2007, at 12:00 AM, Reid Spencer wrote: > On Mon, 2007-05-14 at 23:54 -0700, Chris Lattner wrote: >>> Add a test case for PR1420: http://llvm.org/PR1420 >> >> Further, execution tests should go in llvm-test, not in llvm/test. > > I've done this to get it some attention. The correspondin

Re: [llvm-commits] CVS: llvm/test/C++Frontend/2007-05-15-FieldAccess.cpp

2007-05-15 Thread Reid Spencer
On Mon, 2007-05-14 at 23:54 -0700, Chris Lattner wrote: > > Add a test case for PR1420: http://llvm.org/PR1420 > > Further, execution tests should go in llvm-test, not in llvm/test. I've done this to get it some attention. The corresponding test in llvm-test has been failing for four months and n