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

2006-01-13 Thread Duraid Madina
Changes in directory llvm/lib/Target/IA64: IA64ISelDAGToDAG.cpp updated: 1.19 -> 1.20 --- Log message: don't be a doofus - this fixes storing bools --- Diffs of the changes: (+5 -2) IA64ISelDAGToDAG.cpp |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) Index: llvm/lib/Tar

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

2006-01-13 Thread Chris Lattner
Changes in directory llvm/include/llvm/Target: TargetLowering.h updated: 1.33 -> 1.34 --- Log message: Provide an interface for Targets to specify their stack pointer register for llvm.stacksave/restore. --- Diffs of the changes: (+19 -0) TargetLowering.h | 19 +++ 1 file

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

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Target/PowerPC: PPCISelLowering.cpp updated: 1.64 -> 1.65 --- Log message: implement stacksave/stackrestore on PPC --- Diffs of the changes: (+1 -0) PPCISelLowering.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Target/PowerPC/PPCISelLowering.

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

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.38 -> 1.39 X86ISelPattern.cpp updated: 1.195 -> 1.196 --- Log message: Enable X86 support for savestack/restorestack --- Diffs of the changes: (+2 -1) X86ISelLowering.cpp |1 + X86ISelPattern.cpp |2 +- 2 fil

[llvm-commits] CVS: llvm/lib/Transforms/IPO/Inliner.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: Inliner.cpp updated: 1.24 -> 1.25 --- Log message: Fix 80 column violations --- Diffs of the changes: (+3 -2) Inliner.cpp |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/lib/Transforms/IPO/Inliner.cpp diff -u llvm/l

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

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.261 -> 1.262 --- Log message: If a target specified a stack pointer with setStackPointerRegisterToSaveRestore, lower STACKSAVE/STACKRESTORE into a copy from/to that register. --- Diffs of the changes: (+21 -5) L

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.35 -> 1.36 --- Log message: Fix a bug I noticed by inspection: if the first instruction in the inlined function was not an alloca, we wouldn't check the entry block for any allocas, leading to increased stack space in

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.38 -> 1.39 --- Log message: Use ClonedCodeInfo to avoid another walk over the inlined code, this this time in common C cases. --- Diffs of the changes: (+4 -2) InlineFunction.cpp |6 -- 1 files changed, 4

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.36 -> 1.37 --- Log message: Refactor a bunch of invoke handling stuff out into a new function "HandleInlinedInvoke". No functionality change. --- Diffs of the changes: (+108 -88) InlineFunction.cpp | 196 ++

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.37 -> 1.38 --- Log message: Use the ClonedCodeInfo object to avoid scans of the inlined code when it doesn't contain any calls. This is a fairly common case for C++ code, so it will probably speed up the inliner marg

[llvm-commits] CVS: llvm/lib/Transforms/Utils/CloneFunction.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: CloneFunction.cpp updated: 1.25 -> 1.26 --- Log message: Allow the code cloning interfaces to capture some important info about the code being cloned if the client wants. --- Diffs of the changes: (+35 -11) CloneFunction.cpp | 46 ++

[llvm-commits] CVS: llvm/test/Regression/Transforms/Inline/dynamic_alloca_test.ll

2006-01-13 Thread Chris Lattner
Changes in directory llvm/test/Regression/Transforms/Inline: dynamic_alloca_test.ll added (r1.1) --- Log message: New testcase that functions with dynamic allocas can be inlined, and are inlined correctly. --- Diffs of the changes: (+28 -0) dynamic_alloca_test.ll | 28 +++

[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/Cloning.h

2006-01-13 Thread Chris Lattner
Changes in directory llvm/include/llvm/Transforms/Utils: Cloning.h updated: 1.16 -> 1.17 --- Log message: Allow the code cloning interfaces to capture some important info about the code being cloned if the client wants. --- Diffs of the changes: (+39 -6) Cloning.h | 45 ++

[llvm-commits] CVS: llvm/lib/Transforms/IPO/InlineSimple.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: InlineSimple.cpp updated: 1.71 -> 1.72 --- Log message: Permit inlining functions that contain dynamic allocations now that InlineFunction handles this case safely. This implements Transforms/Inline/dynamic_alloca_test.ll. --- Diffs of the chang

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

2006-01-13 Thread Andrew Lenharth
Changes in directory llvm/lib/Target/Alpha: AlphaTargetMachine.cpp updated: 1.19 -> 1.20 --- Log message: make DAG isel the default --- Diffs of the changes: (+3 -3) AlphaTargetMachine.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/lib/Target/Alpha/AlphaTa

[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: InlineFunction.cpp updated: 1.39 -> 1.40 --- Log message: If inlining a call to a function that contains dynamic allocas, wrap the resultant code with llvm.stacksave/llvm.stackrestore intrinsics. --- Diffs of the changes: (+30 -0) InlineFunct

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

2006-01-13 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.39 -> 1.40 --- Log message: LHS = X86ISD::CMOVcc LHS, RHS means LHS = RHS if cc. So the operands must be flipped around. --- Diffs of the changes: (+4 -2) X86ISelLowering.cpp |6 -- 1 files changed, 4 inserti

[llvm-commits] CVS: llvm/include/llvm/IntrinsicInst.h

2006-01-13 Thread Chris Lattner
Changes in directory llvm/include/llvm: IntrinsicInst.h updated: 1.7 -> 1.8 --- Log message: Add some functionality to the IntrinsicInst class and some comments --- Diffs of the changes: (+20 -0) IntrinsicInst.h | 20 1 files changed, 20 insertions(+) Index: llvm/i

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

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86ISelPattern.cpp updated: 1.196 -> 1.197 --- Log message: Fix a bug in my last X86 checkin, pointed out by cozmic --- Diffs of the changes: (+2 -1) X86ISelPattern.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/T

[llvm-commits] CVS: llvm/include/llvm/IntrinsicInst.h

2006-01-13 Thread Chris Lattner
Changes in directory llvm/include/llvm: IntrinsicInst.h updated: 1.8 -> 1.9 --- Log message: Simplify the implementations of classof using the new IntrinsicInst classof. --- Diffs of the changes: (+32 -56) IntrinsicInst.h | 88 1 f

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

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.411 -> 1.412 --- Log message: Simplify this a tiny bit by using the new IntrinsicInst functionality. --- Diffs of the changes: (+12 -7) InstructionCombining.cpp | 19 --- 1 files changed,

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

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.412 -> 1.413 --- Log message: Do a simple instcombine xforms to delete llvm.stackrestore cases. --- Diffs of the changes: (+33 -0) InstructionCombining.cpp | 33 + 1 files

[llvm-commits] CVS: llvm/lib/Transforms/Utils/Local.cpp

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Utils: Local.cpp updated: 1.47 -> 1.48 --- Log message: it is ok to dce stacksave. --- Diffs of the changes: (+1 -0) Local.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Transforms/Utils/Local.cpp diff -u llvm/lib/Transforms/Utils/L

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

2006-01-13 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.202 -> 1.203 --- Log message: Add truncstore i1 patterns. --- Diffs of the changes: (+5 -0) X86InstrInfo.td |5 + 1 files changed, 5 insertions(+) Index: llvm/lib/Target/X86/X86InstrInfo.td diff -u llvm/lib/Targ

[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/stacksaverestore.ll

2006-01-13 Thread Chris Lattner
Changes in directory llvm/test/Regression/Transforms/InstCombine: stacksaverestore.ll added (r1.1) --- Log message: new testcases for the stackrestore instcombine optimizations --- Diffs of the changes: (+20 -0) stacksaverestore.ll | 20 1 files changed, 20 insertion

[llvm-commits] CVS: llvm/test/Regression/CFrontend/2006-01-13-StackSave.c

2006-01-13 Thread Chris Lattner
Changes in directory llvm/test/Regression/CFrontend: 2006-01-13-StackSave.c added (r1.1) --- Log message: testcase for PR691: http://llvm.cs.uiuc.edu/PR691 --- Diffs of the changes: (+12 -0) 2006-01-13-StackSave.c | 12 1 files changed, 12 insertions(+) Index: llvm/test/R

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

2006-01-13 Thread Robert L. Bocchino Jr.
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.413 -> 1.414 --- Log message: Added instcombine support for extractelement. --- Diffs of the changes: (+54 -1) InstructionCombining.cpp | 55 ++- 1 files chang

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

2006-01-13 Thread Nate Begeman
Changes in directory llvm/docs: LangRef.html updated: 1.123 -> 1.124 --- Log message: Add documentation for the upcoming bswap intrinsics! --- Diffs of the changes: (+91 -1) LangRef.html | 92 ++- 1 files changed, 91 insertions(+),

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

2006-01-13 Thread Nate Begeman
Changes in directory llvm/docs: LangRef.html updated: 1.125 -> 1.126 --- Log message: Make the bswap documentation more to sabre's liking! --- Diffs of the changes: (+40 -94) LangRef.html | 134 +-- 1 files changed, 40 insertions(+),

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

2006-01-13 Thread Chris Lattner
Changes in directory llvm/docs: LangRef.html updated: 1.124 -> 1.125 --- Log message: fix some minor errors --- Diffs of the changes: (+4 -4) LangRef.html |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.124

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

2006-01-13 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.57 -> 1.58 --- Log message: Implement a new InvalidateStructLayoutInfo method and add some comments --- Diffs of the changes: (+18 -0) TargetData.cpp | 18 ++ 1 files changed, 18 insertions(+) Index: llvm/l

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

2006-01-13 Thread Andrew Lenharth
Changes in directory llvm-test: Makefile.programs updated: 1.182 -> 1.183 --- Log message: make beta non-dag --- Diffs of the changes: (+1 -1) Makefile.programs |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/Makefile.programs diff -u llvm-test/Makefile.programs

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

2006-01-13 Thread Chris Lattner
Changes in directory llvm/include/llvm/Target: TargetData.h updated: 1.32 -> 1.33 --- Log message: Add a new InvalidateStructLayoutInfo method and some comments. --- Diffs of the changes: (+9 -0) TargetData.h |9 + 1 files changed, 9 insertions(+) Index: llvm/include/llvm/Tar

[llvm-commits] CVS: llvm/test/Regression/CFrontend/2006-01-13-Includes.c

2006-01-13 Thread Jim Laskey
Changes in directory llvm/test/Regression/CFrontend: 2006-01-13-Includes.c added (r1.1) --- Log message: testcase for PR676: http://llvm.cs.uiuc.edu/PR676 : http://llvm.cs.uiuc.edu/PR676: http://llvm.cs.uiuc.edu/PR676 --- Diffs of the changes: (+9 -0) 2006-01-13-Includes.c |9 ++

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

2006-01-13 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.203 -> 1.204 --- Log message: A typo. --- Diffs of the changes: (+1 -1) X86InstrInfo.td |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/X86/X86InstrInfo.td diff -u llvm/lib/Target/X86/X8

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Verifier.cpp

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.97 -> 1.98 Verifier.cpp updated: 1.139 -> 1.140 --- Log message: Add bswap intrinsics as documented in the Language Reference --- Diffs of the changes: (+35 -0) Function.cpp |5 + Verifier.cpp | 30

[llvm-commits] CVS: llvm/lib/Transforms/Utils/Local.cpp

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/Transforms/Utils: Local.cpp updated: 1.48 -> 1.49 --- Log message: Add bswap intrinsics as documented in the Language Reference --- Diffs of the changes: (+3 -0) Local.cpp |3 +++ 1 files changed, 3 insertions(+) Index: llvm/lib/Transforms/Utils/Local.cp

[llvm-commits] CVS: llvm/test/Regression/Transforms/ConstProp/bswap.ll

2006-01-13 Thread Nate Begeman
Changes in directory llvm/test/Regression/Transforms/ConstProp: bswap.ll added (r1.1) --- Log message: Add bswap intrinsics as documented in the Language Reference --- Diffs of the changes: (+22 -0) bswap.ll | 22 ++ 1 files changed, 22 insertions(+) Index: llvm/tes

[llvm-commits] CVS: llvm/include/llvm/Intrinsics.h

2006-01-13 Thread Nate Begeman
Changes in directory llvm/include/llvm: Intrinsics.h updated: 1.34 -> 1.35 --- Log message: Add bswap intrinsics as documented in the Language Reference --- Diffs of the changes: (+10 -8) Intrinsics.h | 18 ++ 1 files changed, 10 insertions(+), 8 deletions(-) Index: llv

[llvm-commits] CVS: llvm/lib/Analysis/BasicAliasAnalysis.cpp ConstantFolding.cpp

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/Analysis: BasicAliasAnalysis.cpp updated: 1.75 -> 1.76 ConstantFolding.cpp updated: 1.1 -> 1.2 --- Log message: Add bswap intrinsics as documented in the Language Reference --- Diffs of the changes: (+17 -1) BasicAliasAnalysis.cpp |3 ++- ConstantFolding.c

[llvm-commits] CVS: llvm/lib/Target/PowerPC/README.txt

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/Target/PowerPC: README.txt updated: 1.42 -> 1.43 --- Log message: Remove some redundant stuff out of the readme. --- Diffs of the changes: (+0 -18) README.txt | 18 -- 1 files changed, 18 deletions(-) Index: llvm/lib/Target/PowerPC/README.t

[llvm-commits] CVS: llvm/include/llvm/Support/MathExtras.h

2006-01-13 Thread Nate Begeman
Changes in directory llvm/include/llvm/Support: MathExtras.h updated: 1.27 -> 1.28 --- Log message: Add bswap intrinsics as documented in the Language Reference --- Diffs of the changes: (+26 -0) MathExtras.h | 26 ++ 1 files changed, 26 insertions(+) Index: llv

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

2006-01-13 Thread Nate Begeman
Changes in directory llvm/docs: ExtendingLLVM.html updated: 1.19 -> 1.20 --- Log message: Fix the instructions for adding an intrinsic. --- Diffs of the changes: (+8 -4) ExtendingLLVM.html | 12 1 files changed, 8 insertions(+), 4 deletions(-) Index: llvm/docs/ExtendingLLV

[llvm-commits] CVS: llvm/include/llvm/Support/MathExtras.h

2006-01-13 Thread Jeff Cohen
Changes in directory llvm/include/llvm/Support: MathExtras.h updated: 1.28 -> 1.29 --- Log message: Fix generous source of VC++ truncation warnings. --- Diffs of the changes: (+2 -2) MathExtras.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include/llvm/Suppor

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

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/Target/SparcV8: SparcV8ISelDAGToDAG.cpp updated: 1.49 -> 1.50 --- Log message: bswap implementation --- Diffs of the changes: (+1 -0) SparcV8ISelDAGToDAG.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp dif

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

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/Target: TargetSelectionDAG.td updated: 1.43 -> 1.44 --- Log message: bswap implementation --- Diffs of the changes: (+1 -0) TargetSelectionDAG.td |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Target/TargetSelectionDAG.td diff -u llvm/lib/Target/T

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

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.40 -> 1.41 X86InstrInfo.td updated: 1.204 -> 1.205 --- Log message: bswap implementation --- Diffs of the changes: (+5 -1) X86ISelLowering.cpp |2 ++ X86InstrInfo.td |4 +++- 2 files changed, 5 insertions(

[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/bswap.ll

2006-01-13 Thread Nate Begeman
Changes in directory llvm/test/Regression/CodeGen/X86: bswap.ll added (r1.1) --- Log message: bswap implementation --- Diffs of the changes: (+23 -0) bswap.ll | 23 +++ 1 files changed, 23 insertions(+) Index: llvm/test/Regression/CodeGen/X86/bswap.ll diff -c /dev/n

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

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.262 -> 1.263 SelectionDAGISel.cpp updated: 1.123 -> 1.124 --- Log message: bswap implementation --- Diffs of the changes: (+83 -0) LegalizeDAG.cpp | 68 +++

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

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/Target/Alpha: AlphaISelLowering.cpp updated: 1.20 -> 1.21 --- Log message: bswap implementation --- Diffs of the changes: (+1 -0) AlphaISelLowering.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Target/Alpha/AlphaISelLowering.cpp diff -u llvm/

[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelLowering.cpp IA64ISelPattern.cpp

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/Target/IA64: IA64ISelLowering.cpp updated: 1.19 -> 1.20 IA64ISelPattern.cpp updated: 1.75 -> 1.76 --- Log message: bswap implementation --- Diffs of the changes: (+2 -0) IA64ISelLowering.cpp |1 + IA64ISelPattern.cpp |1 + 2 files changed, 2 insertion

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

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.124 -> 1.125 --- Log message: Remove some duplicated code --- Diffs of the changes: (+0 -8) SelectionDAGISel.cpp |8 1 files changed, 8 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/Selec

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

2006-01-13 Thread Nate Begeman
Changes in directory llvm/lib/Target/PowerPC: PPCISelLowering.cpp updated: 1.65 -> 1.66 --- Log message: bswap implementation --- Diffs of the changes: (+2 -1) PPCISelLowering.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/Target/PowerPC/PPCISelLowering.c