Re: [llvm-commits] [llvm-gcc] PR950-zext-bool.patch

2007-01-02 Thread Evan Cheng
Please don't apply this. It's incorrectly forcing bool parameter to be zero extended. That's wrong for targets (e.g. ppc32) which have 32- bit boolean type. Reid will post a fixed version tomorrow. Evan On Jan 2, 2007, at 11:04 PM, Reid Spencer wrote: > On Tue, 2007-01-02 at 22:58 -0800, Reid

[llvm-commits] CVS: llvm/tools/bugpoint/ToolRunner.cpp

2007-01-02 Thread Evan Cheng
Changes in directory llvm/tools/bugpoint: ToolRunner.cpp updated: 1.59 -> 1.60 --- Log message: A bit more debugging printf's. --- Diffs of the changes: (+10 -0) ToolRunner.cpp | 10 ++ 1 files changed, 10 insertions(+) Index: llvm/tools/bugpoint/ToolRunner.cpp diff -u llvm/tool

Re: [llvm-commits] [llvm-gcc] Cumulative PR950 Patch, Version 3 (Please Commit)

2007-01-02 Thread Bill Wendling
On Jan 2, 2007, at 10:48 PM, Reid Spencer wrote: > On Tue, 2007-01-02 at 22:26 -0800, Bill Wendling wrote: >> Hi Reid, >> >> I got this error when compiling: >> >> ../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'bool >> TreeToLLVM::EmitFrontendExpandedBuiltinCall(tree_node*, tree_node

Re: [llvm-commits] [llvm-gcc] PR950-zext-bool.patch

2007-01-02 Thread Reid Spencer
On Tue, 2007-01-02 at 22:58 -0800, Reid Spencer wrote: > To make it even easier, here's a replacement for gcc/llvm-types.cpp Scratch that. Sent the wrong file. Try this one. Sorry. Reid. > > Reid. > > On Tue, 2007-01-02 at 22:54 -0800, Reid Spencer wrote: > > The attached patch is already cont

Re: [llvm-commits] [llvm-gcc] PR950-zext-bool.patch

2007-01-02 Thread Reid Spencer
To make it even easier, here's a replacement for gcc/llvm-types.cpp Reid. On Tue, 2007-01-02 at 22:54 -0800, Reid Spencer wrote: > The attached patch is already contained in the previous cumulative PR950 > patch. This contains just today's changes so it can be more easily > applied to the Apple i

[llvm-commits] [llvm-gcc] PR950-zext-bool.patch

2007-01-02 Thread Reid Spencer
The attached patch is already contained in the previous cumulative PR950 patch. This contains just today's changes so it can be more easily applied to the Apple internal SVN server. Reid. Index: gcc/llvm-types.cpp === --- gcc/llvm-typ

Re: [llvm-commits] [llvm-gcc] Cumulative PR950 Patch, Version 3 (Please Commit)

2007-01-02 Thread Reid Spencer
On Tue, 2007-01-02 at 22:26 -0800, Bill Wendling wrote: > Hi Reid, > > I got this error when compiling: > > ../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'bool > TreeToLLVM::EmitFrontendExpandedBuiltinCall(tree_node*, tree_node*, > llvm::Value*, llvm::Value*&)': > ../../llvm-gcc

Re: [llvm-commits] [llvm-gcc] Cumulative PR950 Patch, Version 3 (Please Commit)

2007-01-02 Thread Bill Wendling
Hi Reid, I got this error when compiling: ../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'bool TreeToLLVM::EmitFrontendExpandedBuiltinCall(tree_node*, tree_node*, llvm::Value*, llvm::Value*&)': ../../llvm-gcc.src/gcc/llvm-convert.cpp:3128: error: 'const class llvm::Type' has no

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

2007-01-02 Thread Reid Spencer
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.336 -> 1.337 --- Log message: Restore previous behavior of defaulting to ZEXT. This works around two things: (1) preventing PR1071: http://llvm.org/PR1071 and (2) working around missing parameter attributes fo

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

2007-01-02 Thread Reid Spencer
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.335 -> 1.336 --- Log message: Two changes: 1. Switch expression and cases are compared signed and are sign extended. 2. For function results needing extended, do SIGN_EXTEND if the SExtAttribute is set and ZE

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

2007-01-02 Thread Reid Spencer
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.450 -> 1.451 --- Log message: Clean up from recent changes. Comment the new parameter to ExpandLibCall. Consolidate some lines of code and remove duplication. --- Diffs of the changes: (+20 -24) LegalizeDAG.cpp

[llvm-commits] CVS: llvm/test/Regression/CodeGen/Alpha/add.ll i32_sub_1.ll

2007-01-02 Thread Reid Spencer
Changes in directory llvm/test/Regression/CodeGen/Alpha: add.ll updated: 1.3 -> 1.4 i32_sub_1.ll updated: 1.2 -> 1.3 --- Log message: Fix this test cases to use parameter attributes for its parameter and result types. These tests are checking for sext behavior and it won't happen unless request

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

2007-01-02 Thread Jim Laskey
Changes in directory llvm/lib/Transforms/Scalar: SCCP.cpp updated: 1.145 -> 1.146 --- Log message: Vectors are not supported by ConstantInt::getAllOnesValue. --- Diffs of the changes: (+10 -5) SCCP.cpp | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) Index: llvm/l

[llvm-commits] CVS: llvm/test/Regression/CodeGen/Alpha/2005-07-12-TwoMallocCalls.ll

2007-01-02 Thread Reid Spencer
Changes in directory llvm/test/Regression/CodeGen/Alpha: 2005-07-12-TwoMallocCalls.ll updated: 1.5 -> 1.6 --- Log message: This test case previously passed the assembler without error even though it used an undefined type name as a parameter argument. This bug in the assembler has been fixed an

[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y

2007-01-02 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.295 -> 1.296 --- Log message: Implement checking for unresolved types in the argument types and result type of function definitions. This fixes test/Regression/Assember/2007-01-02-Undefined-Arg-Type.ll --- Diffs of the chan

[llvm-commits] CVS: llvm/lib/Target/IA64/IA64RegisterInfo.cpp IA64RegisterInfo.h

2007-01-02 Thread Evan Cheng
Changes in directory llvm/lib/Target/IA64: IA64RegisterInfo.cpp updated: 1.25 -> 1.26 IA64RegisterInfo.h updated: 1.9 -> 1.10 --- Log message: Fix naming inconsistency. --- Diffs of the changes: (+8 -8) IA64RegisterInfo.cpp | 12 ++-- IA64RegisterInfo.h |4 ++-- 2 files chan

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

2007-01-02 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.30 -> 1.31 ARMRegisterInfo.h updated: 1.3 -> 1.4 --- Log message: Fix naming inconsistency. --- Diffs of the changes: (+8 -8) ARMRegisterInfo.cpp | 12 ++-- ARMRegisterInfo.h |4 ++-- 2 files changed, 8

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

2007-01-02 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: MRegisterInfo.h updated: 1.85 -> 1.86 TargetFrameInfo.h updated: 1.21 -> 1.22 --- Log message: Fix naming inconsistency: calleesave -> calleesaved. --- Diffs of the changes: (+18 -18) MRegisterInfo.h | 30 +++--- Tar

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

2007-01-02 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86RegisterInfo.cpp updated: 1.186 -> 1.187 X86RegisterInfo.h updated: 1.42 -> 1.43 --- Log message: Fix naming inconsistency. --- Diffs of the changes: (+13 -13) X86RegisterInfo.cpp | 16 X86RegisterInfo.h | 10 +- 2

[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcRegisterInfo.cpp SparcRegisterInfo.h

2007-01-02 Thread Evan Cheng
Changes in directory llvm/lib/Target/Sparc: SparcRegisterInfo.cpp updated: 1.49 -> 1.50 SparcRegisterInfo.h updated: 1.15 -> 1.16 --- Log message: Fix naming inconsistency. --- Diffs of the changes: (+8 -8) SparcRegisterInfo.cpp | 12 ++-- SparcRegisterInfo.h |4 ++-- 2 file

[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp PPCRegisterInfo.h

2007-01-02 Thread Evan Cheng
Changes in directory llvm/lib/Target/PowerPC: PPCRegisterInfo.cpp updated: 1.94 -> 1.95 PPCRegisterInfo.h updated: 1.20 -> 1.21 --- Log message: Fix naming inconsistency. --- Diffs of the changes: (+12 -12) PPCRegisterInfo.cpp | 20 ++-- PPCRegisterInfo.h |4 ++-- 2

[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp AlphaRegisterInfo.h

2007-01-02 Thread Evan Cheng
Changes in directory llvm/lib/Target/Alpha: AlphaRegisterInfo.cpp updated: 1.54 -> 1.55 AlphaRegisterInfo.h updated: 1.15 -> 1.16 --- Log message: Fix naming inconsistency. --- Diffs of the changes: (+8 -8) AlphaRegisterInfo.cpp | 12 ++-- AlphaRegisterInfo.h |4 ++-- 2 file

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

2007-01-02 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: PrologEpilogInserter.cpp updated: 1.62 -> 1.63 --- Log message: - Fixing naming inconsistency: calleesave -> calleesaved. - Make use of spillCalleeSavedRegisters() and restoreCalleeSavedRegisters(). --- Diffs of the changes: (+30 -24) PrologEpilogInser

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

2007-01-02 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: MRegisterInfo.h updated: 1.84 -> 1.85 --- Log message: Add virtual method spillCalleeSaveRegisters() and restoreCalleeSaveRegisters() to MRegisterInfo. These allow the target to issue instructions to spill and restore callee saved registers in case

[llvm-commits] CVS: llvm/test/Regression/Assembler/2007-01-02-Undefined-Arg-Type.ll

2007-01-02 Thread Reid Spencer
Changes in directory llvm/test/Regression/Assembler: 2007-01-02-Undefined-Arg-Type.ll added (r1.1) --- Log message: Add a test case for abstract parameter and result types in function definitions. The assembler should produce an error on this input. --- Diffs of the changes: (+10 -0) 2007-

[llvm-commits] CVS: llvm/test/Regression/DebugInfo/2007-01-02-UnboundedArray.cpp

2007-01-02 Thread Jim Laskey
Changes in directory llvm/test/Regression/DebugInfo: 2007-01-02-UnboundedArray.cpp added (r1.1) --- Log message: PR1068: http://llvm.org/PR1068 - Unbounded array debug info. --- Diffs of the changes: (+14 -0) 2007-01-02-UnboundedArray.cpp | 14 ++ 1 files changed, 14 insertio