[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCInstr64Bit.td

2007-05-16 Thread Chris Lattner
Changes in directory llvm/lib/Target/PowerPC: PPCInstr64Bit.td updated: 1.44 -> 1.45 --- Log message: add support for 128-bit add/sub on ppc64 --- Diffs of the changes: (+34 -0) PPCInstr64Bit.td | 34 ++ 1 files changed, 34 insertions(+) Index: llvm/lib/

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/big_bit_concat.reference_output

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: big_bit_concat.reference_output updated: 1.1 -> 1.2 --- Log message: Update to match test program's static output. --- Diffs of the changes: (+1 -1) big_bit_concat.reference_output |2 +- 1 files changed, 1 insertion(+), 1

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

2007-05-16 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Execution.cpp updated: 1.183 -> 1.184 --- Log message: Print integer values as both decimal and hexadecimal for convenience of verifying result values when debugging. --- Diffs of the changes: (+1 -1) Execution.cpp |2 +- 1 fil

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/multiple_assign.reference_output

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: multiple_assign.reference_output added (r1.1) --- Log message: Add reference output for this test. --- Diffs of the changes: (+1 -0) multiple_assign.reference_output |1 + 1 files changed, 1 insertion(+) Index: llvm-test/

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

2007-05-16 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86InstrX86-64.td updated: 1.15 -> 1.16 --- Log message: add support for 128-bit integer add/sub --- Diffs of the changes: (+20 -0) X86InstrX86-64.td | 20 1 files changed, 20 insertions(+) Index: llvm/lib/Target/X86/X86Ins

[llvm-commits] [127337] Enable 128-bit integer types in the front-end, accessible with

2007-05-16 Thread clattner
Revision: 127337 Author: clattner Date: 2007-05-16 23:27:45 -0700 (Wed, 16 May 2007) Log Message: --- Enable 128-bit integer types in the front-end, accessible with things like: typedef int TI __attribute__((mode(TI))); on 64-bit targets. Modified Paths: -- apple-l

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

2007-05-16 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.83 -> 1.84 --- Log message: For lshr by 0 bits, just return *this as a short cut. This also prevents undefined behavior when the width > 64 bits. --- Diffs of the changes: (+6 -0) APInt.cpp |6 ++ 1 files changed, 6 insert

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/part_select2.reference_output part_select2.c

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: part_select2.reference_output added (r1.1) part_select2.c updated: 1.2 -> 1.3 --- Log message: Add the reference output. The bug here was caused by APInt. --- Diffs of the changes: (+8 -2) part_select2.c|4 +

[llvm-commits] [127336] Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/ Week-of-Mon-20070514/049736.html

2007-05-16 Thread dpatel
Revision: 127336 Author: dpatel Date: 2007-05-16 23:23:29 -0700 (Wed, 16 May 2007) Log Message: --- Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070514/049736.html Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified: apple-

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

2007-05-16 Thread Devang Patel
Changes in directory llvm/test/C++Frontend: 2007-05-16-ReverseBitFieldCrash.cpp added (r1.1) --- Log message: New test. --- Diffs of the changes: (+24 -0) 2007-05-16-ReverseBitFieldCrash.cpp | 24 1 files changed, 24 insertions(+) Index: llvm/test/C++Frontend/2

[llvm-commits] CVS: llvm-test/Makefile.tests

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test: Makefile.tests updated: 1.15 -> 1.16 --- Log message: TESTRUNR is dead. --- Diffs of the changes: (+0 -4) Makefile.tests |4 1 files changed, 4 deletions(-) Index: llvm-test/Makefile.tests diff -u llvm-test/Makefile.tests:1.15 llvm-test/Makefile.t

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/part_select2.c

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: part_select2.c updated: 1.1 -> 1.2 --- Log message: Don't attempt to select more bits than there are present. --- Diffs of the changes: (+1 -1) part_select2.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: l

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/multiple_assign.c

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: multiple_assign.c updated: 1.1 -> 1.2 --- Log message: : is not a statement terminator, but ; is --- Diffs of the changes: (+1 -1) multiple_assign.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/S

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/big_bit_concat.c

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: big_bit_concat.c updated: 1.1 -> 1.2 --- Log message: Don't shy away from multiple assignments now that its fixed. --- Diffs of the changes: (+1 -2) big_bit_concat.c |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-)

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/cppfield.cpp

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: cppfield.cpp updated: 1.5 -> 1.6 --- Log message: Fix indentation. --- Diffs of the changes: (+8 -8) cppfield.cpp | 16 1 files changed, 8 insertions(+), 8 deletions(-) Index: llvm-test/SingleSource/UnitTes

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/part_set.c part_set.reference_output

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: part_set.c added (r1.1) part_set.reference_output added (r1.1) --- Log message: Add a new test case. --- Diffs of the changes: (+24 -0) part_set.c| 19 +++ part_set.reference_output |5

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/multiple_assign.c part_select2.c

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: multiple_assign.c added (r1.1) part_select2.c added (r1.1) --- Log message: Add new test cases. --- Diffs of the changes: (+43 -0) multiple_assign.c |8 part_select2.c| 35 +++

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/bits.h

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: bits.h updated: 1.8 -> 1.9 --- Log message: Add 500 and 1024 bit wide unsigned integer types. --- Diffs of the changes: (+2 -0) bits.h |2 ++ 1 files changed, 2 insertions(+) Index: llvm-test/SingleSource/UnitTests/Intege

[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-05-16 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.400 -> 1.401 --- Log message: Fix PR1427: http://llvm.org/PR1427 and test/CodeGen/X86/mmx-shuffle.ll --- Diffs of the changes: (+10 -1) X86ISelLowering.cpp | 11 ++- 1 files changed, 10 insertions(+), 1 del

[llvm-commits] CVS: llvm/test/CodeGen/X86/mmx-shuffle.ll

2007-05-16 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: mmx-shuffle.ll added (r1.1) --- Log message: testcase for PR1427: http://llvm.org/PR1427 --- Diffs of the changes: (+29 -0) mmx-shuffle.ll | 29 + 1 files changed, 29 insertions(+) Index: llvm/test/CodeGen/X86/mmx

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/Target: TargetInstrInfo.cpp updated: 1.29 -> 1.30 --- Log message: Remove. Not needed. --- Diffs of the changes: (+0 -4) TargetInstrInfo.cpp |4 1 files changed, 4 deletions(-) Index: llvm/lib/Target/TargetInstrInfo.cpp diff -u llvm/lib/Target/Target

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: TargetInstrInfo.h updated: 1.120 -> 1.121 --- Log message: Remove. Not needed. --- Diffs of the changes: (+0 -5) TargetInstrInfo.h |5 - 1 files changed, 5 deletions(-) Index: llvm/include/llvm/Target/TargetInstrInfo.h diff -u llvm/in

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/Target: TargetInstrInfo.cpp updated: 1.28 -> 1.29 --- Log message: Default implementation of TargetInstrInfo::getBlockSize(). --- Diffs of the changes: (+4 -0) TargetInstrInfo.cpp |4 1 files changed, 4 insertions(+) Index: llvm/lib/Target/TargetInst

[llvm-commits] CVS: llvm-test/SingleSource/CustomChecked/LICENSE.TXT Makefile flops.c

2007-05-16 Thread Chris Lattner
Changes in directory llvm-test/SingleSource/CustomChecked: LICENSE.TXT (r1.2) removed Makefile (r1.14) removed flops.c (r1.6) removed --- Log message: this directory is gone --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits ma

[llvm-commits] CVS: llvm-test/SingleSource/Makefile

2007-05-16 Thread Chris Lattner
Changes in directory llvm-test/SingleSource: Makefile updated: 1.13 -> 1.14 --- Log message: remove customchecked --- Diffs of the changes: (+0 -4) Makefile |4 1 files changed, 4 deletions(-) Index: llvm-test/SingleSource/Makefile diff -u llvm-test/SingleSource/Makefile:1.13 l

[llvm-commits] CVS: llvm-test/SingleSource/Benchmarks/Misc/flops.c

2007-05-16 Thread Chris Lattner
Changes in directory llvm-test/SingleSource/Benchmarks/Misc: flops.c added (r1.1) --- Log message: move this from SingleSource/CustomChecked --- Diffs of the changes: (+1175 -0) flops.c | 1175 1 files changed, 1175 insertion

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen/SelectionDAG: TargetLowering.cpp updated: 1.113 -> 1.114 --- Log message: Add target hook to specify block size limit for if-conversion. --- Diffs of the changes: (+1 -0) TargetLowering.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Cod

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: TargetInstrInfo.h updated: 1.119 -> 1.120 TargetLowering.h updated: 1.124 -> 1.125 --- Log message: Add target hook to specify block size limit for if-conversion. --- Diffs of the changes: (+21 -0) TargetInstrInfo.h |5 + TargetLowering

[llvm-commits] CVS: llvm-test/SingleSource/CustomChecked/oopack_v1p8.cpp

2007-05-16 Thread Chris Lattner
Changes in directory llvm-test/SingleSource/CustomChecked: oopack_v1p8.cpp (r1.4) removed --- Log message: this is now in SingleSource/Benchmarks/Misc-C++ --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-com

[llvm-commits] CVS: llvm-test/SingleSource/Benchmarks/Misc-C++/oopack_v1p8.cpp

2007-05-16 Thread Chris Lattner
Changes in directory llvm-test/SingleSource/Benchmarks/Misc-C++: oopack_v1p8.cpp added (r1.1) --- Log message: move this out of customchecked --- Diffs of the changes: (+707 -0) oopack_v1p8.cpp | 707 1 files changed, 707 insertions

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

2007-05-16 Thread Tanya Lattner
Changes in directory llvm/docs: ReleaseNotes.html updated: 1.376 -> 1.377 --- Log message: Merged in both release announcement guts. --- Diffs of the changes: (+242 -13) ReleaseNotes.html | 255 +++--- 1 files changed, 242 insertions(+), 13

[llvm-commits] CVS: llvm-test/SingleSource/CustomChecked/stepanov_v1p2.cpp

2007-05-16 Thread Chris Lattner
Changes in directory llvm-test/SingleSource/CustomChecked: stepanov_v1p2.cpp (r1.3) removed --- Log message: moved to Misc-C++ --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://list

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

2007-05-16 Thread Dale Johannesen
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.306 -> 1.307 --- Log message: Don't fold bitconvert(load) for preinc/postdec loads. Likewise stores. --- Diffs of the changes: (+3 -1) DAGCombiner.cpp |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-

[llvm-commits] [127324] fix a crash on invalid code.

2007-05-16 Thread clattner
Revision: 127324 Author: clattner Date: 2007-05-16 15:40:23 -0700 (Wed, 16 May 2007) Log Message: --- fix a crash on invalid code. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp Modified: apple-local/branches/llvm/gcc/llvm-backend.cpp

[llvm-commits] CVS: llvm-test/SingleSource/Benchmarks/Misc-C++/stepanov_v1p2.cpp

2007-05-16 Thread Chris Lattner
Changes in directory llvm-test/SingleSource/Benchmarks/Misc-C++: stepanov_v1p2.cpp updated: 1.1 -> 1.2 --- Log message: increase runtime --- Diffs of the changes: (+1 -1) stepanov_v1p2.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/SingleSource/Benchmarks/

[llvm-commits] CVS: llvm-test/SingleSource/Benchmarks/Misc-C++/stepanov_v1p2.cpp

2007-05-16 Thread Chris Lattner
Changes in directory llvm-test/SingleSource/Benchmarks/Misc-C++: stepanov_v1p2.cpp added (r1.1) --- Log message: move this out of customchecked --- Diffs of the changes: (+341 -0) stepanov_v1p2.cpp | 341 ++ 1 files changed, 341 insertio

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: IfConversion.cpp updated: 1.3 -> 1.4 --- Log message: isBlockPredicable() always ignore terminal instructions; add comments. --- Diffs of the changes: (+23 -13) IfConversion.cpp | 36 +++- 1 files changed, 23 insertion

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrThumb.td

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrThumb.td updated: 1.27 -> 1.28 --- Log message: ARM::tB is also predicable. --- Diffs of the changes: (+5 -2) ARMInstrThumb.td |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) Index: llvm/lib/Target/ARM/ARMInstrThumb.td dif

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.h updated: 1.9 -> 1.10 ARMInstrInfo.cpp updated: 1.26 -> 1.27 --- Log message: PredicateInstruction returns true if the operation was successful. --- Diffs of the changes: (+8 -4) ARMInstrInfo.cpp | 10 +++--- ARMInstrInfo.h |

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/Target: TargetInstrInfo.cpp updated: 1.27 -> 1.28 --- Log message: PredicateInstruction returns true if the operation was successful. --- Diffs of the changes: (+19 -14) TargetInstrInfo.cpp | 33 +++-- 1 files changed, 19 insertion

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: TargetInstrInfo.h updated: 1.118 -> 1.119 --- Log message: PredicateInstruction returns true if the operation was successful. --- Diffs of the changes: (+2 -2) TargetInstrInfo.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) In

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

2007-05-16 Thread Evan Cheng
It's there now. Evan On May 16, 2007, at 2:16 PM, Lauro Ramos Venancio wrote: > >/// PredicateInstruction - Convert the instruction into a > predicated >/// instruction. >virtual void PredicateInstruction(MachineInstr *MI, > -std::vector > &Cond

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/Target: TargetInstrInfo.cpp updated: 1.26 -> 1.27 --- Log message: Add default implementation of PredicateInstruction(). --- Diffs of the changes: (+20 -0) TargetInstrInfo.cpp | 20 1 files changed, 20 insertions(+) Index: llvm/lib/Targ

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

2007-05-16 Thread Evan Cheng
On May 16, 2007, at 1:50 PM, Chris Lattner wrote: >>> Does that mean it can be predicated and the predicate is not set to >>> always? What client do you expect for this? >> >> Right. The only potential client is the if-converter. If anything is >> already predicated on a non-always predicate bef

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

2007-05-16 Thread Lauro Ramos Venancio
/// PredicateInstruction - Convert the instruction into a predicated /// instruction. virtual void PredicateInstruction(MachineInstr *MI, -std::vector &Cond) const { -assert(0 && "Target didn't implement PredicateInstruction!"); -abort(); - }

[llvm-commits] CVS: llvm-test/SingleSource/CustomChecked/Makefile flops.c oopack_v1p8.cpp stepanov_v1p2.cpp

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/CustomChecked: Makefile updated: 1.13 -> 1.14 flops.c updated: 1.5 -> 1.6 oopack_v1p8.cpp updated: 1.3 -> 1.4 stepanov_v1p2.cpp updated: 1.2 -> 1.3 --- Log message: Excise the need for TestRunner or dejagnu from this directory. These test cases only n

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: IfConversion.cpp updated: 1.2 -> 1.3 --- Log message: Rename M_PREDICATED to M_PREDICABLE; Moved isPredicable() to MachineInstr. --- Diffs of the changes: (+12 -12) IfConversion.cpp | 24 1 files changed, 12 insertions(+), 12

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: MachineInstr.cpp updated: 1.149 -> 1.150 --- Log message: Rename M_PREDICATED to M_PREDICABLE; Moved isPredicable() to MachineInstr. --- Diffs of the changes: (+6 -2) MachineInstr.cpp |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-)

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMTargetMachine.h updated: 1.10 -> 1.11 --- Log message: Move if-conversion after all passes that may use register scavenger. --- Diffs of the changes: (+0 -1) ARMTargetMachine.h |1 - 1 files changed, 1 deletion(-) Index: llvm/lib/Target/ARM

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMTargetMachine.cpp updated: 1.27 -> 1.28 --- Log message: Move if-conversion after all passes that may use register scavenger. --- Diffs of the changes: (+3 -8) ARMTargetMachine.cpp | 11 +++ 1 files changed, 3 insertions(+), 8 deletions

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

2007-05-16 Thread Chris Lattner
>> Does that mean it can be predicated and the predicate is not set to >> always? What client do you expect for this? > > Right. The only potential client is the if-converter. If anything is > already predicated on a non-always predicate before if-conversion, it > needs to know. Random thought, p

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.h updated: 1.8 -> 1.9 ARMInstrInfo.cpp updated: 1.25 -> 1.26 --- Log message: Removed isPredicable(). --- Diffs of the changes: (+0 -10) ARMInstrInfo.cpp |9 - ARMInstrInfo.h |1 - 2 files changed, 10 deletions(-) In

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.td

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.td updated: 1.102 -> 1.103 --- Log message: Make ARM::B isPredicable; Make Bcc and MOVCC condition option a normal operand so they are not predicable. --- Diffs of the changes: (+6 -5) ARMInstrInfo.td | 11 ++- 1 files change

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/Target: Target.td updated: 1.100 -> 1.101 --- Log message: Added isPredicable bit to class Instruction. --- Diffs of the changes: (+1 -0) Target.td |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Target/Target.td diff -u llvm/lib/Target/Target.td:1.

[llvm-commits] CVS: llvm/utils/TableGen/CodeGenInstruction.h CodeGenTarget.cpp InstrInfoEmitter.cpp

2007-05-16 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: CodeGenInstruction.h updated: 1.26 -> 1.27 CodeGenTarget.cpp updated: 1.88 -> 1.89 InstrInfoEmitter.cpp updated: 1.58 -> 1.59 --- Log message: Rename M_PREDICATED to M_PREDICABLE; opcode can be specified isPredicable without having a PredicateOperand.

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: MachineInstr.h updated: 1.219 -> 1.220 --- Log message: Rename M_PREDICATED to M_PREDICABLE; Move TargetInstrInfo::isPredicatable() to MachineInstr::isPredicable(). --- Diffs of the changes: (+4 -0) MachineInstr.h |4 1 files changed

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

2007-05-16 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: TargetInstrInfo.h updated: 1.117 -> 1.118 --- Log message: Rename M_PREDICATED to M_PREDICABLE; Move TargetInstrInfo::isPredicatable() to MachineInstr::isPredicable(). --- Diffs of the changes: (+6 -15) TargetInstrInfo.h | 21 ++-

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

2007-05-16 Thread Reid Spencer
On Wed, 2007-05-16 at 13:30 -0700, Chris Lattner wrote: > > Fix a bug in the "fromString" method where radix 2,8 and 16 values > > were > > not being generated correctly because the shl operator does not > > mutate its > > object but returns a new value. Also, make the distinction between > >

Re: [llvm-commits] Regalloc Refactoring

2007-05-16 Thread Chris Lattner
On May 16, 2007, at 1:01 PM, David Greene wrote: > Chris Lattner wrote: > >>> I think your suggestion of createRegisterCoalescer() is the right >>> solution in the long run. My goal here was to submit the first >>> phase >>> of a larger refactoring effort that separated coalescing from >>> liv

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

2007-05-16 Thread Chris Lattner
> Fix a bug in the "fromString" method where radix 2,8 and 16 values > were > not being generated correctly because the shl operator does not > mutate its > object but returns a new value. Also, make the distinction between > radix > 16 and the others more clear. FWIW, I find this part of th

Re: [llvm-commits] [see] CVS: llvm/lib/Target/CBackend/Writer.cpp

2007-05-16 Thread Reid Spencer
John, On Wed, 2007-05-16 at 14:50 -0500, John Criswell wrote: > > Changes in directory llvm/lib/Target/CBackend: > > Writer.cpp updated: 1.280.4.2 -> 1.280.4.3 > --- > Log message: > > Hack to see branch to label functions as pure and const. > Also fixed the creation of function prototypes with

Re: [llvm-commits] Regalloc Refactoring

2007-05-16 Thread David Greene
Chris Lattner wrote: >> I think your suggestion of createRegisterCoalescer() is the right >> solution in the long run. My goal here was to submit the first phase >> of a larger refactoring effort that separated coalescing from >> live interval analysis but tried not to do anything else dramatic.

[llvm-commits] [see] CVS: llvm/lib/Target/CBackend/Writer.cpp

2007-05-16 Thread John Criswell
Changes in directory llvm/lib/Target/CBackend: Writer.cpp updated: 1.280.4.2 -> 1.280.4.3 --- Log message: Hack to see branch to label functions as pure and const. Also fixed the creation of function prototypes with extern linkage. --- Diffs of the changes: (+14 -4) Writer.cpp | 18 +

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/constval.cpp constval.reference_output

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: constval.cpp updated: 1.1 -> 1.2 constval.reference_output updated: 1.1 -> 1.2 --- Log message: Augment this test case to check conversions of radix 2, 8 and 16 values as well as just radix 10. --- Diffs of the changes: (+22 -4)

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/bits.h

2007-05-16 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: bits.h updated: 1.7 -> 1.8 --- Log message: Add macros for doing octal and binary conversions from strings. --- Diffs of the changes: (+12 -0) bits.h | 12 1 files changed, 12 insertions(+) Index: llvm-test/Sin

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

2007-05-16 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.82 -> 1.83 --- Log message: Fix a bug in the "fromString" method where radix 2,8 and 16 values were not being generated correctly because the shl operator does not mutate its object but returns a new value. Also, make the distinction b

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

2007-05-16 Thread Evan Cheng
On May 16, 2007, at 11:42 AM, Chris Lattner wrote: >>> Yes, I think this should be the distinction between M_PREDICATED >>> (the >>> instr already has a predicate field, but may be set to 'always') vs >>> M_PREDICABLE (the instr may or may not have a predicate field, but >>> PredicateInstructio

[llvm-commits] [release_20] CVS: llvm/docs/LangRef.html

2007-05-16 Thread Reid Spencer
Changes in directory llvm/docs: LangRef.html updated: 1.242 -> 1.242.2.1 --- Log message: Merge arbitrary precision integer documentation from mainline. --- Diffs of the changes: (+49 -9) LangRef.html | 58 +- 1 files changed, 49 in

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

2007-05-16 Thread Reid Spencer
Changes in directory llvm/docs: LangRef.html updated: 1.244 -> 1.245 --- Log message: Update for arbitrary precision integer types. --- Diffs of the changes: (+49 -9) LangRef.html | 58 +- 1 files changed, 49 insertions(+), 9 deleti

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

2007-05-16 Thread Chris Lattner
>> Yes, I think this should be the distinction between M_PREDICATED (the >> instr already has a predicate field, but may be set to 'always') vs >> M_PREDICABLE (the instr may or may not have a predicate field, but >> PredicateInstruction can change it into one that does). > > I dunno if that's the

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

2007-05-16 Thread Chris Lattner
On May 16, 2007, at 11:21 AM, Evan Cheng wrote: >> I realized this morning what I really meant :). I think that >> isPredicable should be a non-virtual function that checks TID- >>> Flags&M_PREDICATED (Actually, it might make sense to introduce a >> new M_PREDICABLE flag). Further, the default

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

2007-05-16 Thread Evan Cheng
On May 16, 2007, at 10:09 AM, Chris Lattner wrote: > On May 16, 2007, at 1:18 AM, Evan Cheng wrote: >>> But even then I am not sure if that eliminate the need to have a >>> virtual function isPredicatable. Conditional branches probably would >>> require special handling. Also, while it isn't poss

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

2007-05-16 Thread Evan Cheng
On May 16, 2007, at 10:06 AM, Chris Lattner wrote: > On May 16, 2007, at 1:02 AM, Evan Cheng wrote: >>> I don't think there is any reason for this to be virtual and target- >>> specific. In particular, can you please model B/tB the same way PPC >>> handles branches (where an uncond branch is jus

[llvm-commits] CVS: llvm/test/TestRunner.sh

2007-05-16 Thread Reid Spencer
Changes in directory llvm/test: TestRunner.sh updated: 1.18 -> 1.19 --- Log message: Fix PR1355: http://llvm.org/PR1355 : Only compute the SUBPATH and TESTDIR once. --- Diffs of the changes: (+9 -7) TestRunner.sh | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) I

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

2007-05-16 Thread Chris Lattner
On May 16, 2007, at 1:18 AM, Evan Cheng wrote: >> But even then I am not sure if that eliminate the need to have a >> virtual function isPredicatable. Conditional branches probably would >> require special handling. Also, while it isn't possible now, it's >> conceivable some instruction predicate f

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

2007-05-16 Thread Chris Lattner
On May 16, 2007, at 1:02 AM, Evan Cheng wrote: >> I don't think there is any reason for this to be virtual and target- >> specific. In particular, can you please model B/tB the same way PPC >> handles branches (where an uncond branch is just a conditional branch >> where the condition is set to 'a

[llvm-commits] [127320] Fix PR1417

2007-05-16 Thread dpatel
Revision: 127320 Author: dpatel Date: 2007-05-16 09:52:34 -0700 (Wed, 16 May 2007) Log Message: --- Fix PR1417 Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070514/049666.html Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modif

[llvm-commits] CVS: llvm/test/CFrontend/2007-05-16-EmptyStruct.c

2007-05-16 Thread Devang Patel
Changes in directory llvm/test/CFrontend: 2007-05-16-EmptyStruct.c updated: 1.1 -> 1.2 --- Log message: Fix PR number. --- Diffs of the changes: (+1 -1) 2007-05-16-EmptyStruct.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CFrontend/2007-05-16-EmptyStruct.c

[llvm-commits] CVS: llvm/test/CFrontend/2007-05-16-EmptyStruct.c

2007-05-16 Thread Devang Patel
Changes in directory llvm/test/CFrontend: 2007-05-16-EmptyStruct.c added (r1.1) --- Log message: New test for PR1417: http://llvm.org/PR1417 --- Diffs of the changes: (+5 -0) 2007-05-16-EmptyStruct.c |5 + 1 files changed, 5 insertions(+) Index: llvm/test/CFrontend/2007-05-16-Em

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

2007-05-16 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Execution.cpp updated: 1.182 -> 1.183 --- Log message: Avoid a "loss of precision" error in gcc 4.1.3. --- Diffs of the changes: (+1 -1) Execution.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Exe

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

2007-05-16 Thread Duncan Sands
Changes in directory llvm/lib/CodeGen: DwarfWriter.cpp updated: 1.145 -> 1.146 --- Log message: Output exception call-sites in address order, as required by the unwinding runtime. --- Diffs of the changes: (+54 -10) DwarfWriter.cpp | 64 +++

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

2007-05-16 Thread Evan Cheng
On May 16, 2007, at 1:02 AM, Evan Cheng wrote: > > On May 15, 2007, at 11:50 PM, Chris Lattner wrote: >> >> I don't think there is any reason for this to be virtual and target- >> specific. In particular, can you please model B/tB the same way PPC >> handles branches (where an uncond branch is j

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

2007-05-16 Thread Evan Cheng
On May 15, 2007, at 11:50 PM, Chris Lattner wrote: >> Hooks for predication support. > > yay! > >> +bool ARMInstrInfo::isPredicatable(MachineInstr *MI) const { >> + const TargetInstrDescriptor *TID = MI->getInstrDescriptor(); >> + if (TID->Flags & M_PREDICATED) >> +return true; >> + >> + u

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.td

2007-05-16 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.td updated: 1.101 -> 1.102 --- Log message: Conditional branch is not a barrier. --- Diffs of the changes: (+6 -4) ARMInstrInfo.td | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) Index: llvm/lib/Target/ARM/ARMInstr