[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.739 - 1.740 --- Log message: canonicalize (x u 2147483648) - (x s -1) and (x u 2147483647) - (x s 0) --- Diffs of the changes: (+32 -25) InstructionCombining.cpp | 57 ++- 1 files changed, 32 insertions(+), 25 deletions(-) Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.739 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.740 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.739 Wed Apr 11 00:45:39 2007 +++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Wed Apr 11 01:12:58 2007 @@ -4624,6 +4624,11 @@ return new ICmpInst(ICmpInst::ICMP_NE, Op0,Op1); if (isMinValuePlusOne(CI,false)) // A u MIN+1 - A == MIN return new ICmpInst(ICmpInst::ICMP_EQ, Op0, SubOne(CI)); + // (x u 2147483648) - (x s -1) - true if sign bit clear + if (CI-isMinValue(true)) +return new ICmpInst(ICmpInst::ICMP_SGT, Op0, +ConstantInt::getAllOnesValue(Op0-getType())); + break; case ICmpInst::ICMP_SLT: @@ -4642,6 +4647,11 @@ return new ICmpInst(ICmpInst::ICMP_NE, Op0, Op1); if (isMaxValueMinusOne(CI, false)) // A u MAX-1 - A == MAX return new ICmpInst(ICmpInst::ICMP_EQ, Op0, AddOne(CI)); + + // (x u 2147483647) - (x s 0) - true if sign bit set + if (CI-isMaxValue(true)) +return new ICmpInst(ICmpInst::ICMP_SLT, Op0, +ConstantInt::getNullValue(Op0-getType())); break; case ICmpInst::ICMP_SGT: @@ -6559,15 +6569,15 @@ // to an integer, then shift the bit to the appropriate place and then // cast to integer to avoid the comparison. if (ConstantInt *Op1C = dyn_castConstantInt(ICI-getOperand(1))) { - const APInt Op1CV = Op1C-getValue(); - // cast (X == 0) to int -- X^1 iff X has only the low bit set. - // cast (X == 0) to int -- (X1)^1 iff X has only the 2nd bit set. - // cast (X == 1) to int -- Xiff X has only the low bit set. - // cast (X == 2) to int -- X1 iff X has only the 2nd bit set. - // cast (X != 0) to int -- Xiff X has only the low bit set. - // cast (X != 0) to int -- X1 iff X has only the 2nd bit set. - // cast (X != 1) to int -- X^1 iff X has only the low bit set. - // cast (X != 2) to int -- (X1)^1 iff X has only the 2nd bit set. + const APInt Op1CV = Op1C-getValue(); + // zext (X == 0) to i32 -- X^1 iff X has only the low bit set. + // zext (X == 0) to i32 -- (X1)^1 iff X has only the 2nd bit set. + // zext (X == 1) to i32 -- Xiff X has only the low bit set. + // zext (X == 2) to i32 -- X1 iff X has only the 2nd bit set. + // zext (X != 0) to i32 -- Xiff X has only the low bit set. + // zext (X != 0) to i32 -- X1 iff X has only the 2nd bit set. + // zext (X != 1) to i32 -- X^1 iff X has only the low bit set. + // zext (X != 2) to i32 -- (X1)^1 iff X has only the 2nd bit set. if ((Op1CV == 0 || Op1CV.isPowerOf2()) // This only works for EQ and NE ICI-isEquality()) { @@ -6617,7 +6627,13 @@ } Instruction *InstCombiner::visitSExt(CastInst CI) { - return commonIntCastTransforms(CI); + if (Instruction *I = commonIntCastTransforms(CI)) +return I; + + // (x s 0) ? -1 : 0 - ashr x, 31 + // (x u 2147483647) ? -1 : 0 - ashr x, 31 + + return 0; } Instruction *InstCombiner::visitFPTrunc(CastInst CI) { @@ -6901,34 +6917,25 @@ // Selecting between two integer constants? if (ConstantInt *TrueValC = dyn_castConstantInt(TrueVal)) if (ConstantInt *FalseValC = dyn_castConstantInt(FalseVal)) { - // select C, 1, 0 - cast C to int + // select C, 1, 0 - zext C to int if (FalseValC-isZero() TrueValC-getValue() == 1) { return CastInst::create(Instruction::ZExt, CondVal, SI.getType()); } else if (TrueValC-isZero() FalseValC-getValue() == 1) { -// select C, 0, 1 - cast !C to int +// select C, 0, 1 - zext !C to int Value *NotCond = InsertNewInstBefore(BinaryOperator::createNot(CondVal, not.+CondVal-getName()), SI); return CastInst::create(Instruction::ZExt, NotCond, SI.getType()); } + + // FIXME: Turn select 0/-1 and -1/0 into sext from condition! if (ICmpInst *IC = dyn_castICmpInst(SI.getCondition())) { // (x s 0) ? -1 : 0 - ashr x, 31 -// (x u 2147483647) ? -1 : 0 - ashr x, 31 if (TrueValC-isAllOnesValue() FalseValC-isZero()) if (ConstantInt *CmpCst = dyn_castConstantInt(IC-getOperand(1))) { -bool CanXForm = false; -if (IC-isSignedPredicate()) - CanXForm =
[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.287 - 1.288 --- Log message: don't create shifts by zero, fix some problems with my previous patch --- Diffs of the changes: (+7 -3) DAGCombiner.cpp | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.287 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.288 --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.287 Wed Apr 11 00:32:27 2007 +++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Wed Apr 11 01:43:25 2007 @@ -2136,7 +2136,7 @@ SimplifySelectCC(N0.getOperand(0), N0.getOperand(1), DAG.getConstant(~0ULL, VT), DAG.getConstant(0, VT), castCondCodeSDNode(N0.getOperand(2))-get()); -if (SCC.Val) return SCC; +if (SCC.Val SCC.Val != N) return SCC; } return SDOperand(); @@ -2226,7 +2226,7 @@ SimplifySelectCC(N0.getOperand(0), N0.getOperand(1), DAG.getConstant(1, VT), DAG.getConstant(0, VT), castCondCodeSDNode(N0.getOperand(2))-get()); -if (SCC.Val) return SCC; +if (SCC.Val SCC.Val != N) return SCC; } return SDOperand(); @@ -2320,7 +2320,8 @@ SimplifySelectCC(N0.getOperand(0), N0.getOperand(1), DAG.getConstant(1, VT), DAG.getConstant(0, VT), castCondCodeSDNode(N0.getOperand(2))-get()); -if (SCC.Val) return SCC; +if (SCC.Val SCC.Val != N SCC.getOpcode() != ISD::ZERO_EXTEND) + return SCC; } return SDOperand(); @@ -4139,6 +4140,9 @@ } AddToWorkList(SCC.Val); AddToWorkList(Temp.Val); + +if (N2C-getValue() == 1) + return Temp; // shl setcc result by log2 n2c return DAG.getNode(ISD::SHL, N2.getValueType(), Temp, DAG.getConstant(Log2_64(N2C-getValue()), ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.288 - 1.289 --- Log message: Fix this harder. --- Diffs of the changes: (+19 -12) DAGCombiner.cpp | 31 +++ 1 files changed, 19 insertions(+), 12 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.288 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.289 --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.288 Wed Apr 11 01:43:25 2007 +++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Wed Apr 11 01:50:51 2007 @@ -266,7 +266,8 @@ SDOperand SimplifyBinOpWithSameOpcodeHands(SDNode *N); SDOperand SimplifySelect(SDOperand N0, SDOperand N1, SDOperand N2); SDOperand SimplifySelectCC(SDOperand N0, SDOperand N1, SDOperand N2, - SDOperand N3, ISD::CondCode CC); + SDOperand N3, ISD::CondCode CC, + bool NotExtCompare = false); SDOperand SimplifySetCC(MVT::ValueType VT, SDOperand N0, SDOperand N1, ISD::CondCode Cond, bool foldBooleans = true); SDOperand ConstantFoldVBIT_CONVERTofVBUILD_VECTOR(SDNode *, MVT::ValueType); @@ -2133,10 +2134,10 @@ // sext(setcc x,y,cc) - select_cc x, y, -1, 0, cc if (N0.getOpcode() == ISD::SETCC) { SDOperand SCC = -SimplifySelectCC(N0.getOperand(0), N0.getOperand(1), - DAG.getConstant(~0ULL, VT), DAG.getConstant(0, VT), - castCondCodeSDNode(N0.getOperand(2))-get()); -if (SCC.Val SCC.Val != N) return SCC; + SimplifySelectCC(N0.getOperand(0), N0.getOperand(1), + DAG.getConstant(~0ULL, VT), DAG.getConstant(0, VT), + castCondCodeSDNode(N0.getOperand(2))-get(), true); +if (SCC.Val) return SCC; } return SDOperand(); @@ -2225,8 +2226,8 @@ SDOperand SCC = SimplifySelectCC(N0.getOperand(0), N0.getOperand(1), DAG.getConstant(1, VT), DAG.getConstant(0, VT), - castCondCodeSDNode(N0.getOperand(2))-get()); -if (SCC.Val SCC.Val != N) return SCC; + castCondCodeSDNode(N0.getOperand(2))-get(), true); +if (SCC.Val) return SCC; } return SDOperand(); @@ -2317,10 +2318,10 @@ // aext(setcc x,y,cc) - select_cc x, y, 1, 0, cc if (N0.getOpcode() == ISD::SETCC) { SDOperand SCC = -SimplifySelectCC(N0.getOperand(0), N0.getOperand(1), - DAG.getConstant(1, VT), DAG.getConstant(0, VT), - castCondCodeSDNode(N0.getOperand(2))-get()); -if (SCC.Val SCC.Val != N SCC.getOpcode() != ISD::ZERO_EXTEND) + SimplifySelectCC(N0.getOperand(0), N0.getOperand(1), + DAG.getConstant(1, VT), DAG.getConstant(0, VT), + castCondCodeSDNode(N0.getOperand(2))-get()); +if (SCC.Val) return SCC; } @@ -4047,7 +4048,7 @@ SDOperand DAGCombiner::SimplifySelectCC(SDOperand N0, SDOperand N1, SDOperand N2, SDOperand N3, -ISD::CondCode CC) { +ISD::CondCode CC, bool NotExtCompare) { MVT::ValueType VT = N2.getValueType(); ConstantSDNode *N1C = dyn_castConstantSDNode(N1.Val); @@ -4123,6 +4124,12 @@ // fold select C, 16, 0 - shl C, 4 if (N2C N3C N3C-isNullValue() isPowerOf2_64(N2C-getValue()) TLI.getSetCCResultContents() == TargetLowering::ZeroOrOneSetCCResult) { + +// If the caller doesn't want us to simplify this into a zext of a compare, +// don't do it. +if (NotExtCompare N2C-getValue() == 1) + return SDOperand(); + // Get a SetCC of the condition // FIXME: Should probably make sure that setcc is legal if we ever have a // target where it isn't. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/InstCombine/icmp.ll
Changes in directory llvm/test/Transforms/InstCombine: icmp.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+17 -0) icmp.ll | 17 + 1 files changed, 17 insertions(+) Index: llvm/test/Transforms/InstCombine/icmp.ll diff -c /dev/null llvm/test/Transforms/InstCombine/icmp.ll:1.1 *** /dev/null Wed Apr 11 01:52:34 2007 --- llvm/test/Transforms/InstCombine/icmp.llWed Apr 11 01:52:24 2007 *** *** 0 --- 1,17 + ; RUN: llvm-as %s | opt -instcombine -disable-output + ; RUN: llvm-as %s | opt -instcombine | llvm-dis | not grep icmp + + define i32 @test1(i32 %X) { + entry: + icmp slt i32 %X, 0 ; i1:0 [#uses=1] + zext i1 %0 to i32 ; i32:1 [#uses=1] + ret i32 %1 + } + + define i32 @test2(i32 %X) { + entry: + icmp ult i32 %X, -2147483648; i1:0 [#uses=1] + zext i1 %0 to i32 ; i32:1 [#uses=1] + ret i32 %1 + } + ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.740 - 1.741 --- Log message: Simplify some comparisons to arithmetic, this implements: Transforms/InstCombine/icmp.ll --- Diffs of the changes: (+27 -0) InstructionCombining.cpp | 27 +++ 1 files changed, 27 insertions(+) Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.740 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.741 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.740 Wed Apr 11 01:12:58 2007 +++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Wed Apr 11 01:53:04 2007 @@ -6570,6 +6570,33 @@ // cast to integer to avoid the comparison. if (ConstantInt *Op1C = dyn_castConstantInt(ICI-getOperand(1))) { const APInt Op1CV = Op1C-getValue(); + + // zext (x s 0) to i32 -- xu31 true if signbit set. + // zext (x s -1) to i32 -- (xu31)^1 true if signbit clear. + if ((ICI-getPredicate() == ICmpInst::ICMP_SLT Op1CV == 0) || + (ICI-getPredicate() == ICmpInst::ICMP_SGT Op1CV.isAllOnesValue())){ +Value *In = ICI-getOperand(0); +Value *Sh = ConstantInt::get(In-getType(), +In-getType()-getPrimitiveSizeInBits()-1); +In = InsertNewInstBefore(BinaryOperator::createLShr(In, Sh, + In-getName()+.lobit), + CI); +if (In-getType() != CI.getType()) + In = CastInst::createIntegerCast(In, CI.getType(), + false/*ZExt*/, tmp, CI); + +if (ICI-getPredicate() == ICmpInst::ICMP_SGT) { + Constant *One = ConstantInt::get(In-getType(), 1); + In = InsertNewInstBefore(BinaryOperator::createXor(In, One, + In-getName()+.not), + CI); +} + +return ReplaceInstUsesWith(CI, In); + } + + + // zext (X == 0) to i32 -- X^1 iff X has only the low bit set. // zext (X == 0) to i32 -- (X1)^1 iff X has only the 2nd bit set. // zext (X == 1) to i32 -- Xiff X has only the low bit set. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.741 - 1.742 --- Log message: Turn stuff like: icmp slt i32 %X, 0 ; i1:0 [#uses=1] sext i1 %0 to i32 ; i32:1 [#uses=1] into: %X.lobit = ashr i32 %X, 31 ; i32 [#uses=1] This implements InstCombine/icmp.ll:test[34] --- Diffs of the changes: (+40 -9) InstructionCombining.cpp | 49 ++- 1 files changed, 40 insertions(+), 9 deletions(-) Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.741 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.742 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.741 Wed Apr 11 01:53:04 2007 +++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Wed Apr 11 01:57:46 2007 @@ -193,9 +193,9 @@ BinaryOperator I); Instruction *commonCastTransforms(CastInst CI); Instruction *commonIntCastTransforms(CastInst CI); -Instruction *visitTrunc(CastInst CI); -Instruction *visitZExt(CastInst CI); -Instruction *visitSExt(CastInst CI); +Instruction *visitTrunc(TruncInst CI); +Instruction *visitZExt(ZExtInst CI); +Instruction *visitSExt(SExtInst CI); Instruction *visitFPTrunc(CastInst CI); Instruction *visitFPExt(CastInst CI); Instruction *visitFPToUI(CastInst CI); @@ -6471,7 +6471,7 @@ return 0; } -Instruction *InstCombiner::visitTrunc(CastInst CI) { +Instruction *InstCombiner::visitTrunc(TruncInst CI) { if (Instruction *Result = commonIntCastTransforms(CI)) return Result; @@ -6528,7 +6528,7 @@ return 0; } -Instruction *InstCombiner::visitZExt(CastInst CI) { +Instruction *InstCombiner::visitZExt(ZExtInst CI) { // If one of the common conversion will work .. if (Instruction *Result = commonIntCastTransforms(CI)) return Result; @@ -6653,13 +6653,44 @@ return 0; } -Instruction *InstCombiner::visitSExt(CastInst CI) { +Instruction *InstCombiner::visitSExt(SExtInst CI) { if (Instruction *I = commonIntCastTransforms(CI)) return I; - // (x s 0) ? -1 : 0 - ashr x, 31 - // (x u 2147483647) ? -1 : 0 - ashr x, 31 - + Value *Src = CI.getOperand(0); + + // sext (x s 0) - ashr x, 31 - all ones if signed + // sext (x s -1) - ashr x, 31 - all ones if not signed + if (ICmpInst *ICI = dyn_castICmpInst(Src)) { +// If we are just checking for a icmp eq of a single bit and zext'ing it +// to an integer, then shift the bit to the appropriate place and then +// cast to integer to avoid the comparison. +if (ConstantInt *Op1C = dyn_castConstantInt(ICI-getOperand(1))) { + const APInt Op1CV = Op1C-getValue(); + + // sext (x s 0) to i32 -- xs31 true if signbit set. + // sext (x s -1) to i32 -- (xs31)^-1 true if signbit clear. + if ((ICI-getPredicate() == ICmpInst::ICMP_SLT Op1CV == 0) || + (ICI-getPredicate() == ICmpInst::ICMP_SGT Op1CV.isAllOnesValue())){ +Value *In = ICI-getOperand(0); +Value *Sh = ConstantInt::get(In-getType(), + In-getType()-getPrimitiveSizeInBits()-1); +In = InsertNewInstBefore(BinaryOperator::createAShr(In, Sh, + In-getName()+.lobit), + CI); +if (In-getType() != CI.getType()) + In = CastInst::createIntegerCast(In, CI.getType(), + true/*SExt*/, tmp, CI); + +if (ICI-getPredicate() == ICmpInst::ICMP_SGT) + In = InsertNewInstBefore(BinaryOperator::createNot(In, + In-getName()+.not), CI); + +return ReplaceInstUsesWith(CI, In); + } +} + } + return 0; } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/InstCombine/icmp.ll
Changes in directory llvm/test/Transforms/InstCombine: icmp.ll updated: 1.1 - 1.2 --- Log message: sext of compares. --- Diffs of the changes: (+14 -0) icmp.ll | 14 ++ 1 files changed, 14 insertions(+) Index: llvm/test/Transforms/InstCombine/icmp.ll diff -u llvm/test/Transforms/InstCombine/icmp.ll:1.1 llvm/test/Transforms/InstCombine/icmp.ll:1.2 --- llvm/test/Transforms/InstCombine/icmp.ll:1.1Wed Apr 11 01:52:24 2007 +++ llvm/test/Transforms/InstCombine/icmp.llWed Apr 11 01:57:54 2007 @@ -15,3 +15,17 @@ ret i32 %1 } +define i32 @test3(i32 %X) { +entry: +icmp slt i32 %X, 0 ; i1:0 [#uses=1] +sext i1 %0 to i32 ; i32:1 [#uses=1] +ret i32 %1 +} + +define i32 @test4(i32 %X) { +entry: +icmp ult i32 %X, -2147483648; i1:0 [#uses=1] +sext i1 %0 to i32 ; i32:1 [#uses=1] +ret i32 %1 +} + ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm2cpp/CppWriter.cpp
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.42 - 1.43 --- Log message: Add support for parameter attributes. --- Diffs of the changes: (+26 -1) CppWriter.cpp | 27 ++- 1 files changed, 26 insertions(+), 1 deletion(-) Index: llvm/tools/llvm2cpp/CppWriter.cpp diff -u llvm/tools/llvm2cpp/CppWriter.cpp:1.42 llvm/tools/llvm2cpp/CppWriter.cpp:1.43 --- llvm/tools/llvm2cpp/CppWriter.cpp:1.42 Thu Mar 1 14:55:43 2007 +++ llvm/tools/llvm2cpp/CppWriter.cpp Wed Apr 11 04:54:08 2007 @@ -18,6 +18,7 @@ #include llvm/InlineAsm.h #include llvm/Instruction.h #include llvm/Instructions.h +#include llvm/ParameterAttributes.h #include llvm/Module.h #include llvm/TypeSymbolTable.h #include llvm/ADT/StringExtras.h @@ -457,6 +458,29 @@ Out );; nl(Out); } + const ParamAttrsList *PAL = FT-getParamAttrs(); + Out ParamAttrsList * typeName _PAL = 0;; + if (PAL !PAL-empty()) { +Out typeName _PAL = new ParamAttrsList();; +for (unsigned i = 0; i PAL-size(); ++i) { + uint16_t index = PAL-getParamIndex(i); + uint16_t attrs = PAL-getParamAttrs(index); + Out typeName _PAL-addAttribute( index , 0; + if (attrs ParamAttr::SExt) +Out | ParamAttr::SExt; + if (attrs ParamAttr::ZExt) +Out | ParamAttr::ZExt; + if (attrs ParamAttr::StructRet) +Out | ParamAttr::StructRet; + if (attrs ParamAttr::InReg) +Out | ParamAttr::InReg; + if (attrs ParamAttr::NoReturn) +Out | ParamAttr::NoReturn; + if (attrs ParamAttr::NoUnwind) +Out | ParamAttr::NoUnwind; + Out );; +} + } bool isForward = printTypeInternal(FT-getReturnType()); std::string retTypeName(getCppName(FT-getReturnType())); Out FunctionType* typeName = FunctionType::get(; @@ -465,7 +489,8 @@ Out _fwd; Out ,; nl(Out) /*Params=*/ typeName _args,; - nl(Out) /*isVarArg=*/ (FT-isVarArg() ? true : false) );; + nl(Out) /*isVarArg=*/ (FT-isVarArg() ? true : false) ; + nl(Out) /*ParamAttrs=/ typeName _PAL );; out(); nl(Out); break; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm2cpp/CppWriter.cpp
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.43 - 1.44 --- Log message: Fix some issues with param attrs. --- Diffs of the changes: (+4 -1) CppWriter.cpp |5 - 1 files changed, 4 insertions(+), 1 deletion(-) Index: llvm/tools/llvm2cpp/CppWriter.cpp diff -u llvm/tools/llvm2cpp/CppWriter.cpp:1.43 llvm/tools/llvm2cpp/CppWriter.cpp:1.44 --- llvm/tools/llvm2cpp/CppWriter.cpp:1.43 Wed Apr 11 04:54:08 2007 +++ llvm/tools/llvm2cpp/CppWriter.cpp Wed Apr 11 05:01:32 2007 @@ -460,8 +460,10 @@ } const ParamAttrsList *PAL = FT-getParamAttrs(); Out ParamAttrsList * typeName _PAL = 0;; + nl(Out); if (PAL !PAL-empty()) { Out typeName _PAL = new ParamAttrsList();; +nl(Out); for (unsigned i = 0; i PAL-size(); ++i) { uint16_t index = PAL-getParamIndex(i); uint16_t attrs = PAL-getParamAttrs(index); @@ -479,6 +481,7 @@ if (attrs ParamAttr::NoUnwind) Out | ParamAttr::NoUnwind; Out );; + nl(Out); } } bool isForward = printTypeInternal(FT-getReturnType()); @@ -490,7 +493,7 @@ Out ,; nl(Out) /*Params=*/ typeName _args,; nl(Out) /*isVarArg=*/ (FT-isVarArg() ? true : false) ; - nl(Out) /*ParamAttrs=/ typeName _PAL );; + nl(Out) /*ParamAttrs=*/ typeName _PAL );; out(); nl(Out); break; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Feature/fold-fpcast.ll
Changes in directory llvm/test/Feature: fold-fpcast.ll updated: 1.1 - 1.2 --- Log message: Fix to not give false positives. --- Diffs of the changes: (+2 -1) fold-fpcast.ll |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/test/Feature/fold-fpcast.ll diff -u llvm/test/Feature/fold-fpcast.ll:1.1 llvm/test/Feature/fold-fpcast.ll:1.2 --- llvm/test/Feature/fold-fpcast.ll:1.1Mon Dec 11 15:25:10 2006 +++ llvm/test/Feature/fold-fpcast.llWed Apr 11 07:04:33 2007 @@ -1,4 +1,5 @@ -; RUN: llvm-as %s | llvm-dis | not grep bitcast +; RUN: llvm-upgrade %s | llvm-as | llvm-dis -o /dev/null +; RUN: llvm-upgrade %s | llvm-as | llvm-dis | not grep bitcast int %test1() { ret int bitcast(float 3.7 to int) ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeParser.y
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.80 - 1.81 --- Log message: Fix a crash-by-unknown-exception caused by attempting to use a null pointer as the key for a map insertion. --- Diffs of the changes: (+2 -1) UpgradeParser.y |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/tools/llvm-upgrade/UpgradeParser.y diff -u llvm/tools/llvm-upgrade/UpgradeParser.y:1.80 llvm/tools/llvm-upgrade/UpgradeParser.y:1.81 --- llvm/tools/llvm-upgrade/UpgradeParser.y:1.80Tue Apr 10 21:44:20 2007 +++ llvm/tools/llvm-upgrade/UpgradeParser.y Wed Apr 11 07:10:08 2007 @@ -774,7 +774,8 @@ D = ValID::create((int)CurModule.Types.size()); D.S.copy(Sign); - CurModule.NamedTypeSigns[Name] = Sign; + if (Name) +CurModule.NamedTypeSigns[Name] = Sign; std::mapValID, PATypeHolder::iterator I = CurModule.LateResolveTypes.find(D); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm2cpp/CppWriter.cpp
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.44 - 1.45 --- Log message: Fix several bugs relating to changes in the LLVM IR API or just outright typos in the output. This is sufficient to get most of the llvm2cpp tests working again. --- Diffs of the changes: (+27 -32) CppWriter.cpp | 59 ++ 1 files changed, 27 insertions(+), 32 deletions(-) Index: llvm/tools/llvm2cpp/CppWriter.cpp diff -u llvm/tools/llvm2cpp/CppWriter.cpp:1.44 llvm/tools/llvm2cpp/CppWriter.cpp:1.45 --- llvm/tools/llvm2cpp/CppWriter.cpp:1.44 Wed Apr 11 05:01:32 2007 +++ llvm/tools/llvm2cpp/CppWriter.cpp Wed Apr 11 07:28:56 2007 @@ -467,7 +467,7 @@ for (unsigned i = 0; i PAL-size(); ++i) { uint16_t index = PAL-getParamIndex(i); uint16_t attrs = PAL-getParamAttrs(index); - Out typeName _PAL-addAttribute( index , 0; + Out typeName _PAL-addAttributes( index , 0; if (attrs ParamAttr::SExt) Out | ParamAttr::SExt; if (attrs ParamAttr::ZExt) @@ -492,7 +492,7 @@ Out _fwd; Out ,; nl(Out) /*Params=*/ typeName _args,; - nl(Out) /*isVarArg=*/ (FT-isVarArg() ? true : false) ; + nl(Out) /*isVarArg=*/ (FT-isVarArg() ? true, : false,) ; nl(Out) /*ParamAttrs=*/ typeName _PAL );; out(); nl(Out); @@ -563,10 +563,11 @@ // If the type had a name, make sure we recreate it. const std::string* progTypeName = findTypeName(TheModule-getTypeSymbolTable(),Ty); - if (progTypeName) + if (progTypeName) { Out mod-addTypeName(\ *progTypeName \, typeName );; nl(Out); + } // Pop us off the type stack TypeStack.pop_back(); @@ -693,7 +694,7 @@ } if (const ConstantInt *CI = dyn_castConstantInt(CV)) { Out ConstantInt* constName = ConstantInt::get( - APInt(castIntegerTyp( typeName )-getBitWidth(), + APInt(castIntegerType( typeName )-getBitWidth(), \ CI-getValue().toStringSigned(10) \, 10));; } else if (isaConstantAggregateZero(CV)) { Out ConstantAggregateZero* constName @@ -769,7 +770,8 @@ Out Constant* constName = ConstantExpr::getGetElementPtr( getCppName(CE-getOperand(0)) , - constName _indices);; + constName _indices[0], CE-getNumOperands() - 1 +);; } else if (CE-isCast()) { printConstant(CE-getOperand(0)); Out Constant* constName = ConstantExpr::getCast(; @@ -1016,13 +1018,13 @@ switch (I-getOpcode()) { case Instruction::Ret: { const ReturnInst* ret = castReturnInst(I); - Out ReturnInst* iName = new ReturnInst( + Out new ReturnInst( (ret-getReturnValue() ? opNames[0] + , : ) bbname );; break; } case Instruction::Br: { const BranchInst* br = castBranchInst(I); - Out BranchInst* iName = new BranchInst( ; + Out new BranchInst( ; if (br-getNumOperands() == 3 ) { Out opNames[0] , opNames[1] , @@ -1060,11 +1062,12 @@ opNames[i] );; nl(Out); } - Out InvokeInst* iName = new InvokeInst( + Out InvokeInst * iName = new InvokeInst( opNames[0] , opNames[1] , opNames[2] , - iName _params, \; + iName _params[0], inv-getNumOperands() - 3 + , \; printEscapedString(inv-getName()); Out \, bbname );; nl(Out) iName -setCallingConv(; @@ -1073,12 +1076,12 @@ break; } case Instruction::Unwind: { - Out UnwindInst* iName = new UnwindInst( + Out new UnwindInst( bbname );; break; } case Instruction::Unreachable:{ - Out UnreachableInst* iName = new UnreachableInst( + Out new UnreachableInst( bbname );; break; } @@ -1234,7 +1237,8 @@ nl(Out); } Out Instruction* iName = new GetElementPtrInst( - opNames[0] , iName _indices; + opNames[0] , iName _indices[0], + gep-getNumOperands() - 1; } Out , \; printEscapedString(gep-getName()); @@ -1283,7 +1287,7 @@ case Instruction::FPToSI: Out FPToSIInst; break; case Instruction::UIToFP: Out UIToFPInst; break; case Instruction::SIToFP: Out SIToFPInst; break; -case Instruction::PtrToInt: Out PtrToInst; break; +case Instruction::PtrToInt: Out PtrToIntInst; break; case Instruction::IntToPtr: Out IntToPtrInst; break; case Instruction::BitCast: Out BitCastInst; break; default: assert(!Unreachable); break; @@ -1312,7 +1316,8 @@ nl(Out); } Out CallInst* iName = new CallInst( - opNames[0] , iName
[llvm-commits] CVS: llvm/tools/llvm2cpp/CppWriter.cpp
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.45 - 1.46 --- Log message: Teach llvm2cpp about packed structure types. --- Diffs of the changes: (+2 -1) CppWriter.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/tools/llvm2cpp/CppWriter.cpp diff -u llvm/tools/llvm2cpp/CppWriter.cpp:1.45 llvm/tools/llvm2cpp/CppWriter.cpp:1.46 --- llvm/tools/llvm2cpp/CppWriter.cpp:1.45 Wed Apr 11 07:28:56 2007 +++ llvm/tools/llvm2cpp/CppWriter.cpp Wed Apr 11 07:41:49 2007 @@ -515,7 +515,8 @@ nl(Out); } Out StructType* typeName = StructType::get( - typeName _fields);; + typeName _fields, /*isPacked=*/ + (ST-isPacked() ? true : false) );; nl(Out); break; } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Feature/packed_cmp.ll
Changes in directory llvm/test/Feature: packed_cmp.ll updated: 1.3 - 1.4 --- Log message: Make sure this test uses llvm-upgrade. Don't allow false positives. --- Diffs of the changes: (+2 -1) packed_cmp.ll |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/test/Feature/packed_cmp.ll diff -u llvm/test/Feature/packed_cmp.ll:1.3 llvm/test/Feature/packed_cmp.ll:1.4 --- llvm/test/Feature/packed_cmp.ll:1.3 Tue Mar 27 21:38:26 2007 +++ llvm/test/Feature/packed_cmp.ll Wed Apr 11 07:46:06 2007 @@ -1,6 +1,7 @@ ; This test checks to make sure that NE and EQ comparisons of ; vector types work. -; RUN: llvm-as %s | llvm-dis %t1.ll +; RUN: llvm-upgrade %s | llvm-as | llvm-dis /dev/null -f +; RUN: llvm-upgrade %s | llvm-as | llvm-dis %t1.ll ; RUN: llvm-as %t1.ll -o - | llvm-dis %t2.ll ; RUN: diff %t1.ll %t2.ll ; XFAIL: * ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Support/APInt.cpp
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.75 - 1.76 --- Log message: Fix an approximate calculation in an assertion not to give false negatives. --- Diffs of the changes: (+1 -1) APInt.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Support/APInt.cpp diff -u llvm/lib/Support/APInt.cpp:1.75 llvm/lib/Support/APInt.cpp:1.76 --- llvm/lib/Support/APInt.cpp:1.75 Tue Mar 20 23:34:37 2007 +++ llvm/lib/Support/APInt.cpp Wed Apr 11 08:00:04 2007 @@ -1726,7 +1726,7 @@ assert(slen = numbits || radix != 2 Insufficient bit width); assert(slen*3 = numbits || radix != 8 Insufficient bit width); assert(slen*4 = numbits || radix != 16 Insufficient bit width); - assert((slen*64)/20 = numbits || radix != 10 Insufficient bit width); + assert((slen*64)/22 = numbits || radix != 10 Insufficient bit width); // Allocate memory if (!isSingleWord()) ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm2cpp/CppWriter.cpp
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.46 - 1.47 --- Log message: Make the generated code for ConstantInt nicer. --- Diffs of the changes: (+2 -2) CppWriter.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/tools/llvm2cpp/CppWriter.cpp diff -u llvm/tools/llvm2cpp/CppWriter.cpp:1.46 llvm/tools/llvm2cpp/CppWriter.cpp:1.47 --- llvm/tools/llvm2cpp/CppWriter.cpp:1.46 Wed Apr 11 07:41:49 2007 +++ llvm/tools/llvm2cpp/CppWriter.cpp Wed Apr 11 08:02:56 2007 @@ -694,8 +694,8 @@ return; } if (const ConstantInt *CI = dyn_castConstantInt(CV)) { -Out ConstantInt* constName = ConstantInt::get( - APInt(castIntegerType( typeName )-getBitWidth(), +Out ConstantInt* constName = ConstantInt::get(APInt( + castIntegerType(CI-getType())-getBitWidth() , \ CI-getValue().toStringSigned(10) \, 10));; } else if (isaConstantAggregateZero(CV)) { Out ConstantAggregateZero* constName ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/VMCore/Instructions.cpp
Changes in directory llvm/lib/VMCore: Instructions.cpp updated: 1.83 - 1.84 --- Log message: Fix a bug where ICmpInst objects instantiated directly with a name would not retain that name. Not noticed because AsmParser always sets name after construction. However, llvm2cpp noticed. --- Diffs of the changes: (+2 -2) Instructions.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/VMCore/Instructions.cpp diff -u llvm/lib/VMCore/Instructions.cpp:1.83 llvm/lib/VMCore/Instructions.cpp:1.84 --- llvm/lib/VMCore/Instructions.cpp:1.83 Mon Apr 9 13:00:57 2007 +++ llvm/lib/VMCore/Instructions.cppWed Apr 11 08:04:48 2007 @@ -2070,6 +2070,7 @@ Ops[0].init(LHS, this); Ops[1].init(RHS, this); SubclassData = predicate; + setName(Name); if (op == Instruction::ICmp) { assert(predicate = ICmpInst::FIRST_ICMP_PREDICATE predicate = ICmpInst::LAST_ICMP_PREDICATE @@ -2093,7 +2094,6 @@ // Check that the operands are the right type assert(Op0Ty-isFloatingPoint() Invalid operand types for FCmp instruction); - setName(Name); } CmpInst::CmpInst(OtherOps op, unsigned short predicate, Value *LHS, Value *RHS, @@ -2102,6 +2102,7 @@ Ops[0].init(LHS, this); Ops[1].init(RHS, this); SubclassData = predicate; + setName(Name); if (op == Instruction::ICmp) { assert(predicate = ICmpInst::FIRST_ICMP_PREDICATE predicate = ICmpInst::LAST_ICMP_PREDICATE @@ -2126,7 +2127,6 @@ // Check that the operands are the right type assert(Op0Ty-isFloatingPoint() Invalid operand types for FCmp instruction); - setName(Name); } CmpInst * ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/CodeGen/Generic/ispositive.ll
Changes in directory llvm/test/CodeGen/Generic: ispositive.ll updated: 1.1 - 1.2 --- Log message: change test name. --- Diffs of the changes: (+1 -1) ispositive.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/Generic/ispositive.ll diff -u llvm/test/CodeGen/Generic/ispositive.ll:1.1 llvm/test/CodeGen/Generic/ispositive.ll:1.2 --- llvm/test/CodeGen/Generic/ispositive.ll:1.1 Wed Apr 11 00:32:13 2007 +++ llvm/test/CodeGen/Generic/ispositive.ll Wed Apr 11 10:24:04 2007 @@ -3,7 +3,7 @@ ; RUN: llvm-as %s | llc -march=arm | grep 'mov r0, r0, lsr #31' ; RUN: llvm-as %s | llc -march=thumb | grep 'lsr r0, r0, #31' -define i32 @isnegative(i32 %X) { +define i32 @test1(i32 %X) { entry: icmp slt i32 %X, 0 ; i1:0 [#uses=1] zext i1 %0 to i32 ; i32:1 [#uses=1] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
Re: [llvm-commits] CVS: llvm/lib/VMCore/Instructions.cpp
On Apr 11, 2007, at 6:05 AM, Reid Spencer wrote: Instructions.cpp updated: 1.83 - 1.84 --- Log message: Fix a bug where ICmpInst objects instantiated directly with a name would not retain that name. Not noticed because AsmParser always sets name after construction. However, llvm2cpp noticed. Nice, I was wondering why so many compares were missing names :) -Chris ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Support/CommandLine.cpp
Changes in directory llvm/lib/Support: CommandLine.cpp updated: 1.85 - 1.86 --- Log message: Fix PR1318: http://llvm.org/PR1318 by reacting appropriately to a mutating option list. --- Diffs of the changes: (+14 -0) CommandLine.cpp | 14 ++ 1 files changed, 14 insertions(+) Index: llvm/lib/Support/CommandLine.cpp diff -u llvm/lib/Support/CommandLine.cpp:1.85 llvm/lib/Support/CommandLine.cpp:1.86 --- llvm/lib/Support/CommandLine.cpp:1.85 Sat Apr 7 00:38:53 2007 +++ llvm/lib/Support/CommandLine.cppWed Apr 11 10:35:18 2007 @@ -394,6 +394,10 @@ // the positional args into the PositionalVals list... Option *ActivePositionalArg = 0; + // Keep track of the option list so far so that we can tell if it is ever + // extended. + Option *CurOptionList = RegisteredOptionList; + // Loop over all of the arguments... processing them. bool DashDashFound = false; // Have we read '--'? for (int i = 1; i argc; ++i) { @@ -401,6 +405,16 @@ const char *Value = 0; const char *ArgName = ; +// If the head of the option list changed, this means that some command line +// option has just been registered or deregistered. This can occur in +// response to things like -load, etc. If this happens, rescan the options. +if (CurOptionList != RegisteredOptionList) { + PositionalOpts.clear(); + Opts.clear(); + GetOptionInfo(PositionalOpts, Opts); + CurOptionList = RegisteredOptionList; +} + // Check to see if this is a positional argument. This argument is // considered to be positional if it doesn't start with '-', if it is - // itself, or if we have seen -- already. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.83 - 1.84 --- Log message: Fix Transforms/ScalarRepl/union-pointer.ll --- Diffs of the changes: (+7 -6) ScalarReplAggregates.cpp | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) Index: llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp diff -u llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.83 llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.84 --- llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.83Tue Apr 10 22:27:24 2007 +++ llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp Wed Apr 11 10:45:25 2007 @@ -1002,6 +1002,11 @@ ConstantInt::get(Type::Int32Ty, Elt), tmp, SI); } + } else if (isaPointerType(AllocaType)) { +// If the alloca type is a pointer, then all the elements must be +// pointers. +if (SV-getType() != AllocaType) + SV = new BitCastInst(SV, AllocaType, SV-getName(), SI); } else { Value *Old = new LoadInst(NewAI, NewAI-getName()+.in, SI); @@ -1013,12 +1018,8 @@ if (SV-getType()-isFloatingPoint()) SV = new BitCastInst(SV, IntegerType::get(SrcWidth), SV-getName(), SI); -else if (isaPointerType(SV-getType())) { - if (isaPointerType(AllocaType)) -SV = new BitCastInst(SV, AllocaType, SV-getName(), SI); - else -SV = new PtrToIntInst(SV, TD.getIntPtrType(), SV-getName(), SI); -} +else if (isaPointerType(SV-getType())) + SV = new PtrToIntInst(SV, TD.getIntPtrType(), SV-getName(), SI); // Always zero extend the value if needed. if (SV-getType() != AllocaType) ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll
Changes in directory llvm/test/Transforms/InstCombine: 2006-12-08-Phi-ICmp-Op-Fold.ll updated: 1.2 - 1.3 --- Log message: adjust test --- Diffs of the changes: (+1 -1) 2006-12-08-Phi-ICmp-Op-Fold.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll diff -u llvm/test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll:1.2 llvm/test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll:1.3 --- llvm/test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll:1.2 Sat Dec 23 00:05:41 2006 +++ llvm/test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll Wed Apr 11 11:04:04 2007 @@ -1,4 +1,4 @@ -; RUN: llvm-upgrade %s | llvm-as | opt -instcombine | llvm-dis|grep 'icmp slt' +; RUN: llvm-upgrade %s | llvm-as | opt -instcombine | llvm-dis|grep 'icmp sgt' ; ModuleID = 'visible.bc' target datalayout = e-p:32:32 target endian = little ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/CodeGen/X86/long-setcc.ll
Changes in directory llvm/test/CodeGen/X86: long-setcc.ll updated: 1.1 - 1.2 --- Log message: this got better --- Diffs of the changes: (+2 -1) long-setcc.ll |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/test/CodeGen/X86/long-setcc.ll diff -u llvm/test/CodeGen/X86/long-setcc.ll:1.1 llvm/test/CodeGen/X86/long-setcc.ll:1.2 --- llvm/test/CodeGen/X86/long-setcc.ll:1.1 Thu Feb 8 16:25:37 2007 +++ llvm/test/CodeGen/X86/long-setcc.ll Wed Apr 11 11:10:48 2007 @@ -1,5 +1,6 @@ ; RUN: llvm-as %s | llc -march=x86 -; RUN: llvm-as %s | llc -march=x86 | grep cmp | wc -l | grep 2 +; RUN: llvm-as %s | llc -march=x86 | grep cmp | wc -l | grep 1 +; RUN: llvm-as %s | llc -march=x86 | grep shr | wc -l | grep 1 ; RUN: llvm-as %s | llc -march=x86 | grep xor | wc -l | grep 1 define i1 @t1(i64 %x) { ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/CodeGen/ARM/long-setcc.ll
Changes in directory llvm/test/CodeGen/ARM: long-setcc.ll updated: 1.2 - 1.3 --- Log message: this got better --- Diffs of the changes: (+2 -2) long-setcc.ll |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/test/CodeGen/ARM/long-setcc.ll diff -u llvm/test/CodeGen/ARM/long-setcc.ll:1.2 llvm/test/CodeGen/ARM/long-setcc.ll:1.3 --- llvm/test/CodeGen/ARM/long-setcc.ll:1.2 Thu Feb 22 21:15:39 2007 +++ llvm/test/CodeGen/ARM/long-setcc.ll Wed Apr 11 11:12:27 2007 @@ -1,7 +1,7 @@ ; RUN: llvm-as %s | llc -march=arm -; RUN: llvm-as %s | llc -march=arm | grep cmp | wc -l | grep 2 +; RUN: llvm-as %s | llc -march=arm | grep cmp | wc -l | grep 1 ; RUN: llvm-as %s | llc -march=thumb -; RUN: llvm-as %s | llc -march=thumb | grep cmp | wc -l | grep 2 +; RUN: llvm-as %s | llc -march=thumb | grep cmp | wc -l | grep 1 define i1 @t1(i64 %x) { ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelLowering.cpp
Changes in directory llvm/lib/Target/ARM: ARMISelLowering.cpp updated: 1.42 - 1.43 --- Log message: Fix incorrect fall-throughs in addr mode code. This fixes CodeGen/ARM/arm-negative-stride.ll --- Diffs of the changes: (+3 -3) ARMISelLowering.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/lib/Target/ARM/ARMISelLowering.cpp diff -u llvm/lib/Target/ARM/ARMISelLowering.cpp:1.42 llvm/lib/Target/ARM/ARMISelLowering.cpp:1.43 --- llvm/lib/Target/ARM/ARMISelLowering.cpp:1.42Mon Apr 9 22:48:29 2007 +++ llvm/lib/Target/ARM/ARMISelLowering.cpp Wed Apr 11 11:17:12 2007 @@ -1386,13 +1386,13 @@ if (Scale == 1) return true; // r + r imm - if (!isPowerOf2_32(Scale ~1)) -return false; + return isPowerOf2_32(Scale ~1); case MVT::i16: // r + r if (((unsigned)AM.HasBaseReg + Scale) = 2) return true; - + return false; + case MVT::isVoid: // Note, we allow void uses (basically, uses that aren't loads or // stores), because arm allows folding a scale into many arithmetic ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.289 - 1.290 --- Log message: fix an infinite loop compiling ldecod, notice by JeffC. --- 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/SelectionDAG/DAGCombiner.cpp:1.289 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.290 --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.289 Wed Apr 11 01:50:51 2007 +++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Wed Apr 11 11:51:53 2007 @@ -2320,7 +2320,7 @@ SDOperand SCC = SimplifySelectCC(N0.getOperand(0), N0.getOperand(1), DAG.getConstant(1, VT), DAG.getConstant(0, VT), - castCondCodeSDNode(N0.getOperand(2))-get()); + castCondCodeSDNode(N0.getOperand(2))-get(), true); if (SCC.Val) return SCC; } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-poolalloc/lib/PoolAllocate/AccessTrace.cpp Heuristic.cpp PointerCompress.cpp PoolAllocate.cpp PoolOptimize.cpp TransformFunctionBody.cpp
Changes in directory llvm-poolalloc/lib/PoolAllocate: AccessTrace.cpp updated: 1.9 - 1.10 Heuristic.cpp updated: 1.17 - 1.18 PointerCompress.cpp updated: 1.76 - 1.77 PoolAllocate.cpp updated: 1.133 - 1.134 PoolOptimize.cpp updated: 1.11 - 1.12 TransformFunctionBody.cpp updated: 1.61 - 1.62 --- Log message: unbitrot this, it might even still work, who knows --- Diffs of the changes: (+68 -99) AccessTrace.cpp |6 ++-- Heuristic.cpp |4 +- PointerCompress.cpp | 64 -- PoolAllocate.cpp | 29 ++-- PoolOptimize.cpp | 29 +++- TransformFunctionBody.cpp | 35 +++-- 6 files changed, 68 insertions(+), 99 deletions(-) Index: llvm-poolalloc/lib/PoolAllocate/AccessTrace.cpp diff -u llvm-poolalloc/lib/PoolAllocate/AccessTrace.cpp:1.9 llvm-poolalloc/lib/PoolAllocate/AccessTrace.cpp:1.10 --- llvm-poolalloc/lib/PoolAllocate/AccessTrace.cpp:1.9 Wed Jan 10 14:44:31 2007 +++ llvm-poolalloc/lib/PoolAllocate/AccessTrace.cpp Wed Apr 11 12:27:53 2007 @@ -100,14 +100,14 @@ // Create the function prototypes for runtime library. InitializeLibraryFunctions(M); - Function *MainFunc = M.getMainFunction(); - if (MainFunc !MainFunc-isExternal()) + Function *MainFunc = M.getFunction(main); + if (MainFunc !MainFunc-isDeclaration()) // Insert a call to the library init function into the beginning of main. new CallInst(AccessTraceInitFn, , MainFunc-begin()-begin()); // Look at all of the loads in the program. for (Module::iterator F = M.begin(), E = M.end(); F != E; ++F) { -if (F-isExternal()) continue; +if (F-isDeclaration()) continue; PA::FuncInfo *FI = PoolAlloc-getFuncInfoOrClone(*F); assert(FI DIDN'T FIND POOL INFO!); Index: llvm-poolalloc/lib/PoolAllocate/Heuristic.cpp diff -u llvm-poolalloc/lib/PoolAllocate/Heuristic.cpp:1.17 llvm-poolalloc/lib/PoolAllocate/Heuristic.cpp:1.18 --- llvm-poolalloc/lib/PoolAllocate/Heuristic.cpp:1.17 Wed Jan 10 14:44:31 2007 +++ llvm-poolalloc/lib/PoolAllocate/Heuristic.cpp Wed Apr 11 12:27:53 2007 @@ -74,7 +74,7 @@ // If we are on a 64-bit system, we want to align 8-byte integers and // pointers. -if (TD.getTypeAlignment(Ty) == 8) +if (TD.getPrefTypeAlignment(Ty) == 8) return true; } @@ -85,7 +85,7 @@ const StructLayout *SL = TD.getStructLayout(STy); for (unsigned i = 0, e = STy-getNumElements(); i != e; ++i) { if (Wants8ByteAlignment(STy-getElementType(i), - Offs+SL-MemberOffsets[i], TD)) + Offs+SL-getElementOffset(i), TD)) return true; } } else if (const SequentialType *STy = dyn_castSequentialType(Ty)) { Index: llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp diff -u llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.76 llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.77 --- llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.76Wed Jan 10 14:44:31 2007 +++ llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp Wed Apr 11 12:27:53 2007 @@ -263,7 +263,7 @@ for (unsigned i = 0, e = STy-getNumElements(); i != e; ++i) Elements.push_back(ComputeCompressedType(STy-getElementType(i), - NodeOffset+SL-MemberOffsets[i], + NodeOffset+SL-getElementOffset(i), Nodes)); return StructType::get(Elements); } else if (const ArrayType *ATy = dyn_castArrayType(OrigTy)) { @@ -707,7 +707,7 @@ uint64_t Field = (unsigned)castConstantInt(Idx)-getZExtValue(); if (Field) { uint64_t FieldOffs = TD.getStructLayout(castStructType(NTy)) --MemberOffsets[Field]; + -getElementOffset(Field); Constant *FieldOffsCst = ConstantInt::get(SCALARUINTTYPE, FieldOffs); Val = BinaryOperator::createAdd(Val, FieldOffsCst, GEPI.getName(), GEPI); @@ -765,10 +765,9 @@ Value *BasePtr = SrcPI-EmitPoolBaseLoad(LI); // Get the pointer to load from. - std::vectorValue* Ops; - Ops.push_back(getTransformedValue(LI.getOperand(0))); - if (Ops[0]-getType() == Type::Int16Ty) -Ops[0] = CastInst::createZExtOrBitCast(Ops[0], Type::Int32Ty, extend_idx, LI); + Value* Ops = getTransformedValue(LI.getOperand(0)); + if (Ops-getType() == Type::Int16Ty) +Ops = CastInst::createZExtOrBitCast(Ops, Type::Int32Ty, extend_idx, LI); Value *SrcPtr = new GetElementPtrInst(BasePtr, Ops, LI.getOperand(0)-getName()+.pp, LI); const Type *DestTy = LoadingCompressedPtr ? MEMUINTTYPE : LI.getType(); @@ -831,10 +830,9 @@ Value *BasePtr = DestPI-EmitPoolBaseLoad(SI); // Get the pointer to store to. - std::vectorValue* Ops; -
[llvm-commits] [125984] Cosmetic changes.
Revision: 125984 Author: dpatel Date: 2007-04-11 10:29:14 -0700 (Wed, 11 Apr 2007) Log Message: --- Cosmetic changes. Rename fns/variales, add comment. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp apple-local/branches/llvm/gcc/llvm-convert.cpp apple-local/branches/llvm/gcc/llvm-internal.h Modified: apple-local/branches/llvm/gcc/llvm-backend.cpp === --- apple-local/branches/llvm/gcc/llvm-backend.cpp 2007-04-11 17:17:11 UTC (rev 125983) +++ apple-local/branches/llvm/gcc/llvm-backend.cpp 2007-04-11 17:29:14 UTC (rev 125984) @@ -210,7 +210,7 @@ // Read LLVM Types string table readLLVMTypesStringTable(); - readLLVMValuesStringTable(); + readLLVMValues(); flag_llvm_pch_read = 1; } @@ -432,7 +432,7 @@ if (flag_pch_file) { writeLLVMTypesStringTable(); -writeLLVMValuesStringTable(); +writeLLVMValues(); } // Add an llvm.global_ctors global if needed. Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp === --- apple-local/branches/llvm/gcc/llvm-convert.cpp 2007-04-11 17:17:11 UTC (rev 125983) +++ apple-local/branches/llvm/gcc/llvm-convert.cpp 2007-04-11 17:29:14 UTC (rev 125984) @@ -157,17 +157,17 @@ } // Read LLVM Types string table -void readLLVMValuesStringTable() { +void readLLVMValues() { GlobalValue *V = TheModule-getNamedGlobal(llvm.pch.values); if (!V) return; GlobalVariable *GV = castGlobalVariable(V); - ConstantStruct *LValueNames = castConstantStruct(GV-getOperand(0)); + ConstantStruct *ValuesFromPCH = castConstantStruct(GV-getOperand(0)); - for (unsigned i = 0; i LValueNames-getNumOperands(); ++i) { -Value *Va = LValueNames-getOperand(i); + for (unsigned i = 0; i ValuesFromPCH-getNumOperands(); ++i) { +Value *Va = ValuesFromPCH-getOperand(i); if (!Va) { // If V is empty then nsert NULL to represent empty entries. @@ -189,23 +189,25 @@ // GCC tree's uses LLVMValues vector's index to reach LLVM Values. // Create a string table to hold these LLVM Values' names. This string // table will be used to recreate LTypes vector after loading PCH. -void writeLLVMValuesStringTable() { +void writeLLVMValues() { if (LLVMValues.empty()) return; - std::vectorConstant * LLVMValuesNames; + std::vectorConstant * ValuesForPCH; for (std::vectorValue *::iterator I = LLVMValues.begin(), E = LLVMValues.end(); I != E; ++I) { if (Constant *C = dyn_castConstant(*I)) - LLVMValuesNames.push_back(C); + ValuesForPCH.push_back(C); else - LLVMValuesNames.push_back(NULL); + // Non constant values, e.g. arguments, are not at global scope. + // When PCH is read, only global scope values are used. + ValuesForPCH.push_back(NULL); } // Create string table. - Constant *LLVMValuesNameTable = ConstantStruct::get(LLVMValuesNames, false); + Constant *LLVMValuesNameTable = ConstantStruct::get(ValuesForPCH, false); // Create variable to hold this string table. new GlobalVariable(LLVMValuesNameTable-getType(), true, Modified: apple-local/branches/llvm/gcc/llvm-internal.h === --- apple-local/branches/llvm/gcc/llvm-internal.h 2007-04-11 17:17:11 UTC (rev 125983) +++ apple-local/branches/llvm/gcc/llvm-internal.h 2007-04-11 17:29:14 UTC (rev 125984) @@ -90,8 +90,8 @@ void changeLLVMValue(Value *Old, Value *New); void readLLVMTypesStringTable(); void writeLLVMTypesStringTable(); -void readLLVMValuesStringTable(); -void writeLLVMValuesStringTable(); +void readLLVMValues(); +void writeLLVMValues(); void clearTargetBuiltinCache(); struct StructTypeConversionInfo; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-poolalloc/include/dsa/DSGraph.h DataStructure.h
Changes in directory llvm-poolalloc/include/dsa: DSGraph.h updated: 1.113 - 1.114 DataStructure.h updated: 1.99 - 1.100 --- Log message: Minor refactoring, and cutting out stuff that should be (and is) in another branch --- Diffs of the changes: (+77 -184) DSGraph.h | 113 ++ DataStructure.h | 148 ++-- 2 files changed, 77 insertions(+), 184 deletions(-) Index: llvm-poolalloc/include/dsa/DSGraph.h diff -u llvm-poolalloc/include/dsa/DSGraph.h:1.113 llvm-poolalloc/include/dsa/DSGraph.h:1.114 --- llvm-poolalloc/include/dsa/DSGraph.h:1.113 Wed Dec 13 23:51:06 2006 +++ llvm-poolalloc/include/dsa/DSGraph.hWed Apr 11 12:37:43 2007 @@ -18,14 +18,12 @@ #include dsa/DSNode.h #include llvm/ADT/hash_map #include llvm/ADT/EquivalenceClasses.h -#include poolalloc/Config/config.h #include list #include map #include iostream namespace llvm { - //typedef mapconst DSNode *, Value* PoolDescriptorMapType; class GlobalValue; @@ -174,63 +172,6 @@ DSNodeHandle AddGlobal(GlobalValue *GV); }; - -#ifdef LLVA_KERNEL -class MetaPool; -class MetaPoolHandle { - MetaPool *Rep; - Instruction * Creator; -public: - MetaPoolHandle(MetaPool *mp, Instruction * Maker = 0); - - MetaPool *getMetaPool() { -return Rep; - } - void setMetaPool(MetaPool *v) { -Rep = v; - } - ~MetaPoolHandle() { -//do nothing for now - } - const std::string getName(); - Value *getMetaPoolValue(); - void merge(MetaPoolHandle *other); -}; - - class MetaPool { -Value *MPD; -hash_setMetaPoolHandle * HandleSet; - - public: -MetaPool(Value *mpd) : MPD(mpd) { -} -void addMetaPoolHandles(hash_setMetaPoolHandle * mpHS) { - HandleSet.insert(mpHS.begin(), mpHS.end()); -} -hash_setMetaPoolHandle * getHandleSet() { - return HandleSet; -} -Value * getMetaPoolValue() { - return MPD; -} -void setMetaPoolValue(Value *V) { - MPD = V; -} -void insert(MetaPoolHandle *mph) { - HandleSet.insert(mph); -} -const std::string getName() { - return MPD-getName(); -} -~MetaPool() { - HandleSet.clear(); -} - }; - -#endif - - - //===--===// /// DSGraph - The graph that represents a function. /// @@ -280,21 +221,15 @@ /// constructed for. const TargetData TD; -#ifdef LLVA_KERNEL - hash_mapconst DSNode*, MetaPoolHandle* PoolDescriptors; -#endif - - - void operator=(const DSGraph ); // DO NOT IMPLEMENT DSGraph(const DSGraph); // DO NOT IMPLEMENT public: // Create a new, empty, DSGraph. - DSGraph(EquivalenceClassesGlobalValue* ECs, const TargetData td) -: GlobalsGraph(0), PrintAuxCalls(false), ScalarMap(ECs), TD(td) { } - // Compute the local DSGraph - DSGraph(EquivalenceClassesGlobalValue* ECs, const TargetData TD, - Function F, DSGraph *GlobalsGraph); + DSGraph(EquivalenceClassesGlobalValue* ECs, const TargetData td, + DSGraph *GG = 0) +:GlobalsGraph(GG), PrintAuxCalls(false), + ScalarMap(ECs), TD(td) + { } // Copy ctor - If you want to capture the node mapping between the source and // destination graph, you may optionally do this by specifying a map to record @@ -311,31 +246,6 @@ DSGraph *getGlobalsGraph() const { return GlobalsGraph; } void setGlobalsGraph(DSGraph *G) { GlobalsGraph = G; } -#ifdef LLVA_KERNEL -#if 1 - hash_mapconst DSNode *, MetaPoolHandle* getPoolDescriptorsMap() { -return PoolDescriptors; - } - MetaPoolHandle *getPoolForNode(const DSNode *N) { -if (PoolDescriptors.count(N) 0) { - return PoolDescriptors[N]; -} -return 0; - } -#else - hash_mapconst DSNodeHandle *, MetaPoolHandle* getPoolDescriptorsMap() { -return PoolDescriptors; - } - MetaPoolHandle *getPoolForNode(const DSNodeHandle *N) { -if (PoolDescriptors.count(N) 0) { - return PoolDescriptors[N]; -} -return 0; - } -#endif - -#endif - /// getGlobalECs - Return the set of equivalence classes that the global /// variables in the program form. EquivalenceClassesGlobalValue* getGlobalECs() const { @@ -418,6 +328,15 @@ return I-second; } + bool hasNodeForValue(Value* V) const { +ScalarMapTy::const_iterator I = ScalarMap.find(V); +return I != ScalarMap.end(); + } + + void eraseNodeForValue(Value* V) { +ScalarMap.erase(V); + } + /// retnodes_* iterator methods: expose iteration over return nodes in the /// graph, which are also the set of functions incorporated in this graph. typedef ReturnNodesTy::const_iterator retnodes_iterator; @@ -445,6 +364,10 @@ return I-second; } + DSNodeHandle getOrCreateReturnNodeFor(Function F) { +return ReturnNodes[F]; + } + /// containsFunction - Return true if this DSGraph contains information for /// the specified function. bool
[llvm-commits] CVS: llvm-www/DevMtgMay2007.html
Changes in directory llvm-www: DevMtgMay2007.html updated: 1.54 - 1.55 --- Log message: Add Efrem Lipkin and Mike Mengler. --- Diffs of the changes: (+4 -2) DevMtgMay2007.html |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Index: llvm-www/DevMtgMay2007.html diff -u llvm-www/DevMtgMay2007.html:1.54 llvm-www/DevMtgMay2007.html:1.55 --- llvm-www/DevMtgMay2007.html:1.54Tue Apr 10 08:58:56 2007 +++ llvm-www/DevMtgMay2007.html Wed Apr 11 12:38:19 2007 @@ -248,6 +248,7 @@ trtdEvan Cheng/tdtdApple Inc./td/tr trtdJeff Cohen/tdtdIndependent/td/tr trtdJohn Criswell/tdtdUIUC/td/tr +trtdMike Engler/tdtdAdobe Systems Incorporated./td/tr trtdHan Gao/tdtdAdobe Systems Incorporated./td/tr trtdDan Gohman + 1/tdtdCray Inc./td/tr trtdStuart Hastings/tdtdApple Inc./td/tr @@ -264,6 +265,7 @@ trthName/ththOrganization/th/tr trtdJulien Lerouge/tdtdApple Inc./td trtdNick Lewycky/tdtdIndependent/td/tr +trtdEfrem Lipkin/tdtdCoDesign/td/tr trtdGabe McArthur/tdtdIndependent/td/tr trtdPaul McJones/tdtdAdobe Systems Incorporated./td/tr trtdScott Michel/tdtdAerospace/td/tr @@ -280,7 +282,7 @@ /td /tr /table - pbTotal confirmed: 30/b/p + pbTotal confirmed: 32/b/p table class=www trth colspan=2Unconfirmed Attendees/th/tr trthName/ththOrganization/th/tr @@ -298,6 +300,6 @@ src=http://jigsaw.w3.org/css-validator/images/vcss; alt=Valid CSS!/a a href=http://validator.w3.org/check/referer;img src=http://www.w3.org/Icons/valid-html401; alt=Valid HTML 4.01!/a -br/Last modified: $Date: 2007/04/10 13:58:56 $ +br/Last modified: $Date: 2007/04/11 17:38:19 $ /address !--#include virtual=footer.incl -- ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [125985] cosmetic.
Revision: 125985 Author: dpatel Date: 2007-04-11 10:41:38 -0700 (Wed, 11 Apr 2007) Log Message: --- cosmetic. s/LLVMValuesNameTable/LLVMValuesTable/g Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp === --- apple-local/branches/llvm/gcc/llvm-convert.cpp 2007-04-11 17:29:14 UTC (rev 125984) +++ apple-local/branches/llvm/gcc/llvm-convert.cpp 2007-04-11 17:41:38 UTC (rev 125985) @@ -207,12 +207,12 @@ } // Create string table. - Constant *LLVMValuesNameTable = ConstantStruct::get(ValuesForPCH, false); + Constant *LLVMValuesTable = ConstantStruct::get(ValuesForPCH, false); // Create variable to hold this string table. - new GlobalVariable(LLVMValuesNameTable-getType(), true, + new GlobalVariable(LLVMValuesTable-getType(), true, GlobalValue::ExternalLinkage, - LLVMValuesNameTable, + LLVMValuesTable, llvm.pch.values, TheModule); } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Feature/packed_cmp.ll
Changes in directory llvm/test/Feature: packed_cmp.ll updated: 1.4 - 1.5 --- Log message: Upgrade this file completely instead of downgrading it. Make sure that false positives aren't made. --- Diffs of the changes: (+30 -31) packed_cmp.ll | 61 -- 1 files changed, 30 insertions(+), 31 deletions(-) Index: llvm/test/Feature/packed_cmp.ll diff -u llvm/test/Feature/packed_cmp.ll:1.4 llvm/test/Feature/packed_cmp.ll:1.5 --- llvm/test/Feature/packed_cmp.ll:1.4 Wed Apr 11 07:46:06 2007 +++ llvm/test/Feature/packed_cmp.ll Wed Apr 11 12:51:03 2007 @@ -1,58 +1,57 @@ ; This test checks to make sure that NE and EQ comparisons of ; vector types work. -; RUN: llvm-upgrade %s | llvm-as | llvm-dis /dev/null -f -; RUN: llvm-upgrade %s | llvm-as | llvm-dis %t1.ll +; RUN: llvm-as | llvm-dis /dev/null -f +; RUN: llvm-as | llvm-dis %t1.ll ; RUN: llvm-as %t1.ll -o - | llvm-dis %t2.ll ; RUN: diff %t1.ll %t2.ll ; XFAIL: * %ivec_type = type 4 x i8 -%ivec1 = constant %ivec_type i8 1, i8 1, i8 1, i8 1 -%ivec2 = constant %ivec_type i8 0, i8 0, i8 0, i8 0 [EMAIL PROTECTED] = constant %ivec_type i8 1, i8 1, i8 1, i8 1 [EMAIL PROTECTED] = constant %ivec_type i8 0, i8 0, i8 0, i8 0 %fvec_type = type 4 x float -%fvec1 = constant %fvec_type float 1.0, float 1.0, float 1.0, float 1.0 -%fvec2 = constant %fvec_type float 0.0, float 0.0, float 0.0, float 0.0 [EMAIL PROTECTED] = constant %fvec_type float 1.0, float 1.0, float 1.0, float 1.0 [EMAIL PROTECTED] = constant %fvec_type float 0.0, float 0.0, float 0.0, float 0.0 - -define bool %ivectest1() { -%v1 = load %ivec_type* getelementptr(%ivec_type* %ivec1, i32 0) -%v2 = load %ivec_type* getelementptr(%ivec_type* %ivec2, i32 0) +define i1 @ivectest1() { +%v1 = load %ivec_type* getelementptr(%ivec_type* @ivec1, i32 0) +%v2 = load %ivec_type* getelementptr(%ivec_type* @ivec2, i32 0) %res = icmp ne %ivec_type %v1, %v2 -ret bool %res +ret i1 %res } -define bool %ivectest2() { -%v1 = load %ivec_type* getelementptr(%ivec_type* %ivec1, i32 0) -%v2 = load %ivec_type* getelementptr(%ivec_type* %ivec2, i32 0) +define i1 @ivectest2() { +%v1 = load %ivec_type* getelementptr(%ivec_type* @ivec1, i32 0) +%v2 = load %ivec_type* getelementptr(%ivec_type* @ivec2, i32 0) %res = icmp eq %ivec_type %v1, %v2 -ret bool %res +ret i1 %res } -define bool %fvectest1() { -%v1 = load %fvec_type* %fvec1 -%v2 = load %fvec_type* %fvec2 +define i1 @fvectest1() { +%v1 = load %fvec_type* @fvec1 +%v2 = load %fvec_type* @fvec2 %res = fcmp one %fvec_type %v1, %v2 -ret bool %res +ret i1 %res } -define bool %fvectest2() { -%v1 = load %fvec_type* %fvec1 -%v2 = load %fvec_type* %fvec2 +define i1 @fvectest2() { +%v1 = load %fvec_type* @fvec1 +%v2 = load %fvec_type* @fvec2 %res = fcmp oeq %fvec_type %v1, %v2 -ret bool %res +ret i1 %res } -define bool %fvectest3() { -%v1 = load %fvec_type* %fvec1 -%v2 = load %fvec_type* %fvec2 +define i1 @fvectest3() { +%v1 = load %fvec_type* @fvec1 +%v2 = load %fvec_type* @fvec2 %res = fcmp une %fvec_type %v1, %v2 -ret bool %res +ret i1 %res } -define bool %fvectest4() { -%v1 = load %fvec_type* %fvec1 -%v2 = load %fvec_type* %fvec2 +define i1 @fvectest4() { +%v1 = load %fvec_type* @fvec1 +%v2 = load %fvec_type* @fvec2 %res = fcmp ueq %fvec_type %v1, %v2 -ret bool %res +ret i1 %res } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/lib/llvm2cpp.exp
Changes in directory llvm/test/lib: llvm2cpp.exp updated: 1.6 - 1.7 --- Log message: Update the way llvm2cpp tests are done: 1. Make sure bytecode/assembly inputs are always redirected stdin so that the module name is stdin. This helps not get false negatives when the diff is done. 2. Scan the test file to determine if llvm-upgrade needs to be run. 3. Avoid running testings that are XFAIL'd because they'll cause a failure when run for llvm2cpp. 4. Get some better error message output. --- Diffs of the changes: (+39 -7) llvm2cpp.exp | 46 +++--- 1 files changed, 39 insertions(+), 7 deletions(-) Index: llvm/test/lib/llvm2cpp.exp diff -u llvm/test/lib/llvm2cpp.exp:1.6 llvm/test/lib/llvm2cpp.exp:1.7 --- llvm/test/lib/llvm2cpp.exp:1.6 Thu Jun 1 02:23:32 2006 +++ llvm/test/lib/llvm2cpp.exp Wed Apr 11 12:56:23 2007 @@ -12,6 +12,7 @@ set llvm2cpp [file join $llvmtoolsdir llvm2cpp ] set llvmas [file join $llvmtoolsdir llvm-as ] set llvmdis [file join $llvmtoolsdir llvm-dis ] + set llvmupgrade [ file join $llvmtoolsdir llvm-upgrade ] #Make Output Directory if it does not exist already if { [file exists path] } { @@ -33,20 +34,51 @@ set testname [file rootname $filename] set bytecode [file join Output $filename.bc] -# Note that the stderr for llvm-as must be redirected to /dev/null because -# otherwise exec will see the msgs and return 1 even though they are only -# warnings. If real errors are generated on stderr then llvm-as will return -# a non-zero retval anyway so we're good. +# Note that the stderr for llvm-as, etc. must be redirected to /dev/null +# because otherwise exec will see the msgs and return 1 even though they +# are only warnings. If real errors are generated on stderr then llvm-as +# will return a non-zero retval anyway so we're good. + +# Scan the test file to see if there's an XFAIL file. If so, don't run it +set retval [ catch { + exec -keepnewline grep XFAIL $test 2/dev/null } msg ] +if { $retval == 0 } { + continue; +} + +# Scan the test file to see if there's a line with lvm-upgrade in it. +# If so, run llvm-upgrade first or else llvm-as will fail on it. +set retval [ catch { + exec -keepnewline grep llvm-upgrade $test 2/dev/null } msg ] + +if { $retval == 0 } { + # In this case we must run llvm-upgrade before llvm-as + set pipeline llvm-upgrade|llvm-as|llvm-dis + set retval [ catch { +exec -keepnewline $llvmupgrade $test -o - | $llvmas | $llvmdis -f -o $assembly 2/dev/null } msg ] +} else { + # llvm-upgrade not necessary, just llvm-as/llvm-dis + set pipeline llvm-as|llvm-dis + set retval [ catch { +exec -keepnewline $llvmas $test -o - | $llvmdis -f -o $assembly 2/dev/null } msg ] +} + +if { $retval != 0 } { + fail $test: $pipeline returned $retval\n$msg + continue +} + +# Build bytecode for llvm2cpp input set retval [ catch { - exec -keepnewline $llvmas $test -o - | $llvmdis -f -o $assembly 2/dev/null } msg ] + exec -keepnewline $llvmas $assembly $bytecode 2/dev/null } msg ] if { $retval != 0 } { - fail $test: llvm-as/llvm-dis returned $retval\n$msg + fail $test: llvm-as returned $retval\n$msg continue } set retval [ catch { - exec -keepnewline $llvm2cpp -f -o $generated $test 2/dev/null } msg] + exec -keepnewline $llvm2cpp -f -o $generated $bytecode 2/dev/null } msg] if { $retval != 0 } { fail $test: llvm2cpp returned $retval\n$msg ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/tls.c Makefile
Changes in directory llvm-test/SingleSource/UnitTests: tls.c added (r1.1) Makefile updated: 1.14 - 1.15 --- Log message: Add a TLS test. --- Diffs of the changes: (+21 -0) Makefile |1 + tls.c| 20 2 files changed, 21 insertions(+) Index: llvm-test/SingleSource/UnitTests/tls.c diff -c /dev/null llvm-test/SingleSource/UnitTests/tls.c:1.1 *** /dev/null Wed Apr 11 13:56:56 2007 --- llvm-test/SingleSource/UnitTests/tls.c Wed Apr 11 13:56:46 2007 *** *** 0 --- 1,20 + #include stdio.h + #include pthread.h + + void *f(void *a){ + static __thread int i = 1; + i++; + return (void *)i; + } + + int main() { + pthread_t t; + int ret; + pthread_create(t, NULL, f, NULL); + pthread_join(t, (void **) ret); + printf(Thread 1: %d\n,ret); + pthread_create(t, NULL, f, NULL); + pthread_join(t, (void **) ret); + printf(Thread 2: %d\n,ret); + return 0; + } Index: llvm-test/SingleSource/UnitTests/Makefile diff -u llvm-test/SingleSource/UnitTests/Makefile:1.14 llvm-test/SingleSource/UnitTests/Makefile:1.15 --- llvm-test/SingleSource/UnitTests/Makefile:1.14 Tue Apr 10 18:52:47 2007 +++ llvm-test/SingleSource/UnitTests/Makefile Wed Apr 11 13:56:46 2007 @@ -15,5 +15,6 @@ DIRS += SignlessTypes +LDFLAGS += -lpthread PROGRAM_REQUIRED_TO_EXIT_OK := 1 include $(LEVEL)/SingleSource/Makefile.singlesrc ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Feature/llvm2cpp.ll
Changes in directory llvm/test/Feature: llvm2cpp.ll added (r1.1) --- Log message: Add a test case for testing basic IR features via llvm2cpp. This helps find bit rot in llvm2cpp and also tests the LLVM C++ IR in ways that llvm-as doesn't. --- Diffs of the changes: (+795 -0) llvm2cpp.ll | 795 1 files changed, 795 insertions(+) Index: llvm/test/Feature/llvm2cpp.ll diff -c /dev/null llvm/test/Feature/llvm2cpp.ll:1.1 *** /dev/null Wed Apr 11 14:54:47 2007 --- llvm/test/Feature/llvm2cpp.ll Wed Apr 11 14:54:37 2007 *** *** 0 --- 1,795 + ; RUN: llvm-as %s | llvm-dis %t1.ll + ; RUN: llvm-as %s | llvm2cpp -gen-program -o %t2.cpp - + ; RUN: gcc -g -D__STDC_LIMIT_MACROS -o %t2.exe %t2.cpp -I%I -L%L -lLLVMCore -lLLVMSupport -lLLVMbzip2 -lLLVMSystem -lstdc++ + ; RUN: %t2.exe %t2.ll + ; RUN: diff %t1.ll %t2.ll + + @X = global i32 4, align 16 ; i32* [#uses=0] + + define i32* @test1012() align 32 { + %X = alloca i32, align 4; i32* [#uses=1] + %Y = alloca i32, i32 42, align 16 ; i32* [#uses=0] + %Z = alloca i32 ; i32* [#uses=0] + ret i32* %X + } + + define i32* @test1013() { + %X = malloc i32, align 4; i32* [#uses=1] + %Y = malloc i32, i32 42, align 16 ; i32* [#uses=0] + %Z = malloc i32 ; i32* [#uses=0] + ret i32* %X + } + + define void @void(i32, i32) { + add i32 0, 0; i32:3 [#uses=2] + sub i32 0, 4; i32:4 [#uses=2] + br label %5 + + ; label:5 ; preds = %5, %2 + add i32 %0, %1 ; i32:6 [#uses=2] + sub i32 %6, %4 ; i32:7 [#uses=1] + icmp sle i32 %7, %3 ; i1:8 [#uses=1] + br i1 %8, label %9, label %5 + + ; label:9 ; preds = %5 + add i32 %0, %1 ; i32:10 [#uses=0] + sub i32 %6, %4 ; i32:11 [#uses=1] + icmp sle i32 %11, %3; i1:12 [#uses=0] + ret void + } + + define i32 @zarro() { + Startup: + ret i32 0 + } + + define fastcc void @foo() { + ret void + } + + define coldcc void @bar() { + call fastcc void @foo( ) + ret void + } + + define void @structret({ i8 }* sret %P) { + call void @structret( { i8 }* %P sret ) + ret void + } + + define void @foo4() { + ret void + } + + define coldcc void @bar2() { + call fastcc void @foo( ) + ret void + } + + define cc42 void @bar3() { + invoke fastcc void @foo( ) + to label %Ok unwind label %U + + Ok: ; preds = %0 + ret void + + U:; preds = %0 + unwind + } + + define void @bar4() { + call cc42 void @bar( ) + invoke cc42 void @bar3( ) + to label %Ok unwind label %U + + Ok: ; preds = %0 + ret void + + U:; preds = %0 + unwind + } + ; ModuleID = 'calltest.ll' + %FunTy = type i32 (i32) + + define i32 @test1000(i32 %i0) { + ret i32 %i0 + } + + define void @invoke(%FunTy* %x) { + %foo = call i32 %x( i32 123 ) ; i32 [#uses=0] + %foo2 = tail call i32 %x( i32 123 ) ; i32 [#uses=0] + ret void + } + + define i32 @main(i32 %argc) { + %retval = call i32 @test1000( i32 %argc ) ; i32 [#uses=2] + %two = add i32 %retval, %retval ; i32 [#uses=1] + %retval2 = invoke i32 @test1000( i32 %argc ) + to label %Next unwind label %Error ; i32 [#uses=1] + + Next: ; preds = %0 + %two2 = add i32 %two, %retval2 ; i32 [#uses=1] + call void @invoke( %FunTy* @test1000 ) + ret i32 %two2 + + Error:; preds = %0 + ret i32 -1 + } + ; ModuleID = 'casttest.ll' + + define i16 @FunFunc(i64 %x, i8 %z) { + bb0: + %cast110 = sext i8 %z to i16; i16 [#uses=1] + %cast10 = trunc i64 %x to i16 ; i16 [#uses=1] + %reg109 = add i16 %cast110, %cast10 ; i16 [#uses=1] + ret i16 %reg109 + } + ; ModuleID = 'cfgstructures.ll' + + define void @irreducible(i1 %cond) { + br i1 %cond, label %X, label %Y + + X:; preds = %Y, %0 + br label %Y + + Y:; preds = %X, %0 + br label %X + } + + define void @sharedheader(i1 %cond) { + br label %A + + A:; preds = %Y, %X, %0 + br i1 %cond, label %X, label %Y + + X:; preds = %A + br label %A + + Y:; preds = %A + br label %A + } + + define void @nested(i1 %cond1, i1 %cond2, i1 %cond3) { + br label %Loop1 + + Loop1:; preds = %L2Exit, %0 + br label %Loop2 + + Loop2:; preds = %L3Exit, %Loop1 + br label %Loop3 + + Loop3:; preds = %Loop3, %Loop2 + br i1 %cond3, label %Loop3, label %L3Exit + +
Re: [llvm-commits] CVS: llvm/lib/Support/CommandLine.cpp
On Wed, 2007-04-11 at 10:35 -0500, Chris Lattner wrote: Changes in directory llvm/lib/Support: CommandLine.cpp updated: 1.85 - 1.86 --- Log message: Fix PR1318: http://llvm.org/PR1318 by reacting appropriately to a mutating option list. Could you please create a regression test for this? One thing that could be done is to re-enable LLVMHello to built by default and then use it with --load and -hello option. --- Diffs of the changes: (+14 -0) CommandLine.cpp | 14 ++ 1 files changed, 14 insertions(+) Index: llvm/lib/Support/CommandLine.cpp diff -u llvm/lib/Support/CommandLine.cpp:1.85 llvm/lib/Support/CommandLine.cpp:1.86 --- llvm/lib/Support/CommandLine.cpp:1.85 Sat Apr 7 00:38:53 2007 +++ llvm/lib/Support/CommandLine.cpp Wed Apr 11 10:35:18 2007 @@ -394,6 +394,10 @@ // the positional args into the PositionalVals list... Option *ActivePositionalArg = 0; + // Keep track of the option list so far so that we can tell if it is ever + // extended. + Option *CurOptionList = RegisteredOptionList; + // Loop over all of the arguments... processing them. bool DashDashFound = false; // Have we read '--'? for (int i = 1; i argc; ++i) { @@ -401,6 +405,16 @@ const char *Value = 0; const char *ArgName = ; +// If the head of the option list changed, this means that some command line +// option has just been registered or deregistered. This can occur in +// response to things like -load, etc. If this happens, rescan the options. +if (CurOptionList != RegisteredOptionList) { + PositionalOpts.clear(); + Opts.clear(); + GetOptionInfo(PositionalOpts, Opts); + CurOptionList = RegisteredOptionList; +} + // Check to see if this is a positional argument. This argument is // considered to be positional if it doesn't start with '-', if it is - // itself, or if we have seen -- already. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/BugPoint/dg.exp
Changes in directory llvm/test/BugPoint: dg.exp updated: 1.4 - 1.5 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/BugPoint/dg.exp diff -u llvm/test/BugPoint/dg.exp:1.4 llvm/test/BugPoint/dg.exp:1.5 --- llvm/test/BugPoint/dg.exp:1.4 Thu Apr 13 12:32:53 2006 +++ llvm/test/BugPoint/dg.exp Wed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.ll]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.ll]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Other/dg.exp
Changes in directory llvm/test/Other: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Other/dg.exp diff -u llvm/test/Other/dg.exp:1.3 llvm/test/Other/dg.exp:1.4 --- llvm/test/Other/dg.exp:1.3 Wed Apr 12 16:57:35 2006 +++ llvm/test/Other/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Linker/dg.exp
Changes in directory llvm/test/Linker: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Linker/dg.exp diff -u llvm/test/Linker/dg.exp:1.3 llvm/test/Linker/dg.exp:1.4 --- llvm/test/Linker/dg.exp:1.3 Wed Apr 12 16:57:35 2006 +++ llvm/test/Linker/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Integer/dg.exp
Changes in directory llvm/test/Integer: dg.exp updated: 1.1 - 1.2 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Integer/dg.exp diff -u llvm/test/Integer/dg.exp:1.1 llvm/test/Integer/dg.exp:1.2 --- llvm/test/Integer/dg.exp:1.1Tue Jan 16 12:08:22 2007 +++ llvm/test/Integer/dg.expWed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Feature/dg.exp
Changes in directory llvm/test/Feature: dg.exp updated: 1.5 - 1.6 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Feature/dg.exp diff -u llvm/test/Feature/dg.exp:1.5 llvm/test/Feature/dg.exp:1.6 --- llvm/test/Feature/dg.exp:1.5Sun May 28 02:22:42 2006 +++ llvm/test/Feature/dg.expWed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/TableGen/dg.exp
Changes in directory llvm/test/TableGen: dg.exp updated: 1.4 - 1.5 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/TableGen/dg.exp diff -u llvm/test/TableGen/dg.exp:1.4 llvm/test/TableGen/dg.exp:1.5 --- llvm/test/TableGen/dg.exp:1.4 Wed Apr 12 16:57:35 2006 +++ llvm/test/TableGen/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{td}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{td}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Archive/dg.exp
Changes in directory llvm/test/Archive: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Archive/dg.exp diff -u llvm/test/Archive/dg.exp:1.3 llvm/test/Archive/dg.exp:1.4 --- llvm/test/Archive/dg.exp:1.3Wed Apr 12 16:57:33 2006 +++ llvm/test/Archive/dg.expWed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/Mem2Reg/dg.exp
Changes in directory llvm/test/Transforms/Mem2Reg: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/Mem2Reg/dg.exp diff -u llvm/test/Transforms/Mem2Reg/dg.exp:1.3 llvm/test/Transforms/Mem2Reg/dg.exp:1.4 --- llvm/test/Transforms/Mem2Reg/dg.exp:1.3 Wed Apr 12 16:57:39 2006 +++ llvm/test/Transforms/Mem2Reg/dg.exp Wed Apr 11 14:56:59 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/ExecutionEngine/dg.exp
Changes in directory llvm/test/ExecutionEngine: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/ExecutionEngine/dg.exp diff -u llvm/test/ExecutionEngine/dg.exp:1.3 llvm/test/ExecutionEngine/dg.exp:1.4 --- llvm/test/ExecutionEngine/dg.exp:1.3Wed Apr 12 16:57:35 2006 +++ llvm/test/ExecutionEngine/dg.expWed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/DebugInfo/dg.exp
Changes in directory llvm/test/DebugInfo: dg.exp updated: 1.1 - 1.2 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/DebugInfo/dg.exp diff -u llvm/test/DebugInfo/dg.exp:1.1 llvm/test/DebugInfo/dg.exp:1.2 --- llvm/test/DebugInfo/dg.exp:1.1 Tue Nov 7 01:31:37 2006 +++ llvm/test/DebugInfo/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Bytecode/dg.exp
Changes in directory llvm/test/Bytecode: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Bytecode/dg.exp diff -u llvm/test/Bytecode/dg.exp:1.3 llvm/test/Bytecode/dg.exp:1.4 --- llvm/test/Bytecode/dg.exp:1.3 Wed Apr 12 16:57:33 2006 +++ llvm/test/Bytecode/dg.exp Wed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/CodeGen/SPARC/dg.exp
Changes in directory llvm/test/CodeGen/SPARC: dg.exp updated: 1.2 - 1.3 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/SPARC/dg.exp diff -u llvm/test/CodeGen/SPARC/dg.exp:1.2 llvm/test/CodeGen/SPARC/dg.exp:1.3 --- llvm/test/CodeGen/SPARC/dg.exp:1.2 Wed Apr 12 16:57:34 2006 +++ llvm/test/CodeGen/SPARC/dg.exp Wed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/CodeGen/X86/dg.exp
Changes in directory llvm/test/CodeGen/X86: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/X86/dg.exp diff -u llvm/test/CodeGen/X86/dg.exp:1.3 llvm/test/CodeGen/X86/dg.exp:1.4 --- llvm/test/CodeGen/X86/dg.exp:1.3Wed Apr 12 16:57:35 2006 +++ llvm/test/CodeGen/X86/dg.expWed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/CFrontend/dg.exp
Changes in directory llvm/test/CFrontend: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CFrontend/dg.exp diff -u llvm/test/CFrontend/dg.exp:1.3 llvm/test/CFrontend/dg.exp:1.4 --- llvm/test/CFrontend/dg.exp:1.3 Wed Apr 12 16:57:34 2006 +++ llvm/test/CFrontend/dg.exp Wed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Assembler/dg.exp
Changes in directory llvm/test/Assembler: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Assembler/dg.exp diff -u llvm/test/Assembler/dg.exp:1.3 llvm/test/Assembler/dg.exp:1.4 --- llvm/test/Assembler/dg.exp:1.3 Wed Apr 12 16:57:33 2006 +++ llvm/test/Assembler/dg.exp Wed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/LICM/dg.exp
Changes in directory llvm/test/Transforms/LICM: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/LICM/dg.exp diff -u llvm/test/Transforms/LICM/dg.exp:1.3 llvm/test/Transforms/LICM/dg.exp:1.4 --- llvm/test/Transforms/LICM/dg.exp:1.3Wed Apr 12 16:57:38 2006 +++ llvm/test/Transforms/LICM/dg.expWed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/CodeGen/Alpha/dg.exp
Changes in directory llvm/test/CodeGen/Alpha: dg.exp updated: 1.2 - 1.3 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/Alpha/dg.exp diff -u llvm/test/CodeGen/Alpha/dg.exp:1.2 llvm/test/CodeGen/Alpha/dg.exp:1.3 --- llvm/test/CodeGen/Alpha/dg.exp:1.2 Wed Apr 12 16:57:34 2006 +++ llvm/test/CodeGen/Alpha/dg.exp Wed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/GCSE/dg.exp
Changes in directory llvm/test/Transforms/GCSE: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/GCSE/dg.exp diff -u llvm/test/Transforms/GCSE/dg.exp:1.3 llvm/test/Transforms/GCSE/dg.exp:1.4 --- llvm/test/Transforms/GCSE/dg.exp:1.3Wed Apr 12 16:57:36 2006 +++ llvm/test/Transforms/GCSE/dg.expWed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/CodeGen/ARM/dg.exp
Changes in directory llvm/test/CodeGen/ARM: dg.exp updated: 1.1 - 1.2 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/ARM/dg.exp diff -u llvm/test/CodeGen/ARM/dg.exp:1.1 llvm/test/CodeGen/ARM/dg.exp:1.2 --- llvm/test/CodeGen/ARM/dg.exp:1.1Thu May 25 05:49:19 2006 +++ llvm/test/CodeGen/ARM/dg.expWed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Verifier/dg.exp
Changes in directory llvm/test/Verifier: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Verifier/dg.exp diff -u llvm/test/Verifier/dg.exp:1.3 llvm/test/Verifier/dg.exp:1.4 --- llvm/test/Verifier/dg.exp:1.3 Wed Apr 12 16:57:40 2006 +++ llvm/test/Verifier/dg.exp Wed Apr 11 14:56:59 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Analysis/BasicAA/dg.exp
Changes in directory llvm/test/Analysis/BasicAA: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Analysis/BasicAA/dg.exp diff -u llvm/test/Analysis/BasicAA/dg.exp:1.3 llvm/test/Analysis/BasicAA/dg.exp:1.4 --- llvm/test/Analysis/BasicAA/dg.exp:1.3 Wed Apr 12 16:57:32 2006 +++ llvm/test/Analysis/BasicAA/dg.exp Wed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/CodeGen/Generic/dg.exp
Changes in directory llvm/test/CodeGen/Generic: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/Generic/dg.exp diff -u llvm/test/CodeGen/Generic/dg.exp:1.3 llvm/test/CodeGen/Generic/dg.exp:1.4 --- llvm/test/CodeGen/Generic/dg.exp:1.3Wed Apr 12 16:57:34 2006 +++ llvm/test/CodeGen/Generic/dg.expWed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/TailDup/dg.exp
Changes in directory llvm/test/Transforms/TailDup: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/TailDup/dg.exp diff -u llvm/test/Transforms/TailDup/dg.exp:1.3 llvm/test/Transforms/TailDup/dg.exp:1.4 --- llvm/test/Transforms/TailDup/dg.exp:1.3 Wed Apr 12 16:57:40 2006 +++ llvm/test/Transforms/TailDup/dg.exp Wed Apr 11 14:56:59 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/dg.exp
Changes in directory llvm/test/CodeGen/PowerPC: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/PowerPC/dg.exp diff -u llvm/test/CodeGen/PowerPC/dg.exp:1.3 llvm/test/CodeGen/PowerPC/dg.exp:1.4 --- llvm/test/CodeGen/PowerPC/dg.exp:1.3Wed Apr 12 16:57:34 2006 +++ llvm/test/CodeGen/PowerPC/dg.expWed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/CodeGen/IA64/dg.exp
Changes in directory llvm/test/CodeGen/IA64: dg.exp updated: 1.2 - 1.3 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/IA64/dg.exp diff -u llvm/test/CodeGen/IA64/dg.exp:1.2 llvm/test/CodeGen/IA64/dg.exp:1.3 --- llvm/test/CodeGen/IA64/dg.exp:1.2 Wed Apr 12 16:57:34 2006 +++ llvm/test/CodeGen/IA64/dg.exp Wed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/CodeGen/CBackend/dg.exp
Changes in directory llvm/test/CodeGen/CBackend: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/CBackend/dg.exp diff -u llvm/test/CodeGen/CBackend/dg.exp:1.3 llvm/test/CodeGen/CBackend/dg.exp:1.4 --- llvm/test/CodeGen/CBackend/dg.exp:1.3 Wed Apr 12 16:57:34 2006 +++ llvm/test/CodeGen/CBackend/dg.exp Wed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/BlockPlacement/dg.exp
Changes in directory llvm/test/Transforms/BlockPlacement: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/BlockPlacement/dg.exp diff -u llvm/test/Transforms/BlockPlacement/dg.exp:1.3 llvm/test/Transforms/BlockPlacement/dg.exp:1.4 --- llvm/test/Transforms/BlockPlacement/dg.exp:1.3 Wed Apr 12 16:57:35 2006 +++ llvm/test/Transforms/BlockPlacement/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/PruneEH/dg.exp
Changes in directory llvm/test/Transforms/PruneEH: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/PruneEH/dg.exp diff -u llvm/test/Transforms/PruneEH/dg.exp:1.3 llvm/test/Transforms/PruneEH/dg.exp:1.4 --- llvm/test/Transforms/PruneEH/dg.exp:1.3 Wed Apr 12 16:57:39 2006 +++ llvm/test/Transforms/PruneEH/dg.exp Wed Apr 11 14:56:59 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/SCCP/dg.exp
Changes in directory llvm/test/Transforms/SCCP: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/SCCP/dg.exp diff -u llvm/test/Transforms/SCCP/dg.exp:1.3 llvm/test/Transforms/SCCP/dg.exp:1.4 --- llvm/test/Transforms/SCCP/dg.exp:1.3Wed Apr 12 16:57:39 2006 +++ llvm/test/Transforms/SCCP/dg.expWed Apr 11 14:56:59 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Analysis/LoopInfo/dg.exp
Changes in directory llvm/test/Analysis/LoopInfo: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Analysis/LoopInfo/dg.exp diff -u llvm/test/Analysis/LoopInfo/dg.exp:1.3 llvm/test/Analysis/LoopInfo/dg.exp:1.4 --- llvm/test/Analysis/LoopInfo/dg.exp:1.3 Wed Apr 12 16:57:33 2006 +++ llvm/test/Analysis/LoopInfo/dg.exp Wed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/GlobalOpt/dg.exp
Changes in directory llvm/test/Transforms/GlobalOpt: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/GlobalOpt/dg.exp diff -u llvm/test/Transforms/GlobalOpt/dg.exp:1.3 llvm/test/Transforms/GlobalOpt/dg.exp:1.4 --- llvm/test/Transforms/GlobalOpt/dg.exp:1.3 Wed Apr 12 16:57:37 2006 +++ llvm/test/Transforms/GlobalOpt/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/ConstProp/dg.exp
Changes in directory llvm/test/Transforms/ConstProp: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/ConstProp/dg.exp diff -u llvm/test/Transforms/ConstProp/dg.exp:1.3 llvm/test/Transforms/ConstProp/dg.exp:1.4 --- llvm/test/Transforms/ConstProp/dg.exp:1.3 Wed Apr 12 16:57:36 2006 +++ llvm/test/Transforms/ConstProp/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/TailCallElim/dg.exp
Changes in directory llvm/test/Transforms/TailCallElim: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/TailCallElim/dg.exp diff -u llvm/test/Transforms/TailCallElim/dg.exp:1.3 llvm/test/Transforms/TailCallElim/dg.exp:1.4 --- llvm/test/Transforms/TailCallElim/dg.exp:1.3Wed Apr 12 16:57:40 2006 +++ llvm/test/Transforms/TailCallElim/dg.expWed Apr 11 14:56:59 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/InstCombine/dg.exp
Changes in directory llvm/test/Transforms/InstCombine: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/InstCombine/dg.exp diff -u llvm/test/Transforms/InstCombine/dg.exp:1.3 llvm/test/Transforms/InstCombine/dg.exp:1.4 --- llvm/test/Transforms/InstCombine/dg.exp:1.3 Wed Apr 12 16:57:38 2006 +++ llvm/test/Transforms/InstCombine/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/CondProp/dg.exp
Changes in directory llvm/test/Transforms/CondProp: dg.exp updated: 1.2 - 1.3 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/CondProp/dg.exp diff -u llvm/test/Transforms/CondProp/dg.exp:1.2 llvm/test/Transforms/CondProp/dg.exp:1.3 --- llvm/test/Transforms/CondProp/dg.exp:1.2Wed Apr 12 16:57:36 2006 +++ llvm/test/Transforms/CondProp/dg.expWed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/RaiseAllocations/dg.exp
Changes in directory llvm/test/Transforms/RaiseAllocations: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/RaiseAllocations/dg.exp diff -u llvm/test/Transforms/RaiseAllocations/dg.exp:1.3 llvm/test/Transforms/RaiseAllocations/dg.exp:1.4 --- llvm/test/Transforms/RaiseAllocations/dg.exp:1.3Wed Apr 12 16:57:39 2006 +++ llvm/test/Transforms/RaiseAllocations/dg.expWed Apr 11 14:56:59 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/SimplifyCFG/dg.exp
Changes in directory llvm/test/Transforms/SimplifyCFG: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/SimplifyCFG/dg.exp diff -u llvm/test/Transforms/SimplifyCFG/dg.exp:1.3 llvm/test/Transforms/SimplifyCFG/dg.exp:1.4 --- llvm/test/Transforms/SimplifyCFG/dg.exp:1.3 Wed Apr 12 16:57:39 2006 +++ llvm/test/Transforms/SimplifyCFG/dg.exp Wed Apr 11 14:56:59 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/LowerSwitch/dg.exp
Changes in directory llvm/test/Transforms/LowerSwitch: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/LowerSwitch/dg.exp diff -u llvm/test/Transforms/LowerSwitch/dg.exp:1.3 llvm/test/Transforms/LowerSwitch/dg.exp:1.4 --- llvm/test/Transforms/LowerSwitch/dg.exp:1.3 Wed Apr 12 16:57:39 2006 +++ llvm/test/Transforms/LowerSwitch/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Analysis/ScalarEvolution/dg.exp
Changes in directory llvm/test/Analysis/ScalarEvolution: dg.exp updated: 1.1 - 1.2 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Analysis/ScalarEvolution/dg.exp diff -u llvm/test/Analysis/ScalarEvolution/dg.exp:1.1 llvm/test/Analysis/ScalarEvolution/dg.exp:1.2 --- llvm/test/Analysis/ScalarEvolution/dg.exp:1.1 Sat Jan 13 19:23:43 2007 +++ llvm/test/Analysis/ScalarEvolution/dg.exp Wed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.ll]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.ll]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/PredicateSimplifier/dg.exp
Changes in directory llvm/test/Transforms/PredicateSimplifier: dg.exp updated: 1.1 - 1.2 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/PredicateSimplifier/dg.exp diff -u llvm/test/Transforms/PredicateSimplifier/dg.exp:1.1 llvm/test/Transforms/PredicateSimplifier/dg.exp:1.2 --- llvm/test/Transforms/PredicateSimplifier/dg.exp:1.1 Mon Sep 18 19:31:54 2006 +++ llvm/test/Transforms/PredicateSimplifier/dg.exp Wed Apr 11 14:56:59 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/LowerSetJmp/dg.exp
Changes in directory llvm/test/Transforms/LowerSetJmp: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/LowerSetJmp/dg.exp diff -u llvm/test/Transforms/LowerSetJmp/dg.exp:1.3 llvm/test/Transforms/LowerSetJmp/dg.exp:1.4 --- llvm/test/Transforms/LowerSetJmp/dg.exp:1.3 Wed Apr 12 16:57:39 2006 +++ llvm/test/Transforms/LowerSetJmp/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/LoopRotate/dg.exp
Changes in directory llvm/test/Transforms/LoopRotate: dg.exp updated: 1.1 - 1.2 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/LoopRotate/dg.exp diff -u llvm/test/Transforms/LoopRotate/dg.exp:1.1 llvm/test/Transforms/LoopRotate/dg.exp:1.2 --- llvm/test/Transforms/LoopRotate/dg.exp:1.1 Mon Apr 9 17:22:42 2007 +++ llvm/test/Transforms/LoopRotate/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/GlobalDCE/dg.exp
Changes in directory llvm/test/Transforms/GlobalDCE: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/GlobalDCE/dg.exp diff -u llvm/test/Transforms/GlobalDCE/dg.exp:1.3 llvm/test/Transforms/GlobalDCE/dg.exp:1.4 --- llvm/test/Transforms/GlobalDCE/dg.exp:1.3 Wed Apr 12 16:57:37 2006 +++ llvm/test/Transforms/GlobalDCE/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Analysis/GlobalsModRef/dg.exp
Changes in directory llvm/test/Analysis/GlobalsModRef: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Analysis/GlobalsModRef/dg.exp diff -u llvm/test/Analysis/GlobalsModRef/dg.exp:1.3 llvm/test/Analysis/GlobalsModRef/dg.exp:1.4 --- llvm/test/Analysis/GlobalsModRef/dg.exp:1.3 Wed Apr 12 16:57:33 2006 +++ llvm/test/Analysis/GlobalsModRef/dg.exp Wed Apr 11 14:56:57 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/LoopUnroll/dg.exp
Changes in directory llvm/test/Transforms/LoopUnroll: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/LoopUnroll/dg.exp diff -u llvm/test/Transforms/LoopUnroll/dg.exp:1.3 llvm/test/Transforms/LoopUnroll/dg.exp:1.4 --- llvm/test/Transforms/LoopUnroll/dg.exp:1.3 Wed Apr 12 16:57:38 2006 +++ llvm/test/Transforms/LoopUnroll/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/DeadArgElim/dg.exp
Changes in directory llvm/test/Transforms/DeadArgElim: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/DeadArgElim/dg.exp diff -u llvm/test/Transforms/DeadArgElim/dg.exp:1.3 llvm/test/Transforms/DeadArgElim/dg.exp:1.4 --- llvm/test/Transforms/DeadArgElim/dg.exp:1.3 Wed Apr 12 16:57:36 2006 +++ llvm/test/Transforms/DeadArgElim/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/LowerInvoke/dg.exp
Changes in directory llvm/test/Transforms/LowerInvoke: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/LowerInvoke/dg.exp diff -u llvm/test/Transforms/LowerInvoke/dg.exp:1.3 llvm/test/Transforms/LowerInvoke/dg.exp:1.4 --- llvm/test/Transforms/LowerInvoke/dg.exp:1.3 Wed Apr 12 16:57:38 2006 +++ llvm/test/Transforms/LowerInvoke/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/LoopSimplify/dg.exp
Changes in directory llvm/test/Transforms/LoopSimplify: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/LoopSimplify/dg.exp diff -u llvm/test/Transforms/LoopSimplify/dg.exp:1.3 llvm/test/Transforms/LoopSimplify/dg.exp:1.4 --- llvm/test/Transforms/LoopSimplify/dg.exp:1.3Wed Apr 12 16:57:38 2006 +++ llvm/test/Transforms/LoopSimplify/dg.expWed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/ConstantMerge/dg.exp
Changes in directory llvm/test/Transforms/ConstantMerge: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/ConstantMerge/dg.exp diff -u llvm/test/Transforms/ConstantMerge/dg.exp:1.3 llvm/test/Transforms/ConstantMerge/dg.exp:1.4 --- llvm/test/Transforms/ConstantMerge/dg.exp:1.3 Wed Apr 12 16:57:36 2006 +++ llvm/test/Transforms/ConstantMerge/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/CodeExtractor/dg.exp
Changes in directory llvm/test/Transforms/CodeExtractor: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/CodeExtractor/dg.exp diff -u llvm/test/Transforms/CodeExtractor/dg.exp:1.3 llvm/test/Transforms/CodeExtractor/dg.exp:1.4 --- llvm/test/Transforms/CodeExtractor/dg.exp:1.3 Wed Apr 12 16:57:36 2006 +++ llvm/test/Transforms/CodeExtractor/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/Reassociate/dg.exp
Changes in directory llvm/test/Transforms/Reassociate: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/Reassociate/dg.exp diff -u llvm/test/Transforms/Reassociate/dg.exp:1.3 llvm/test/Transforms/Reassociate/dg.exp:1.4 --- llvm/test/Transforms/Reassociate/dg.exp:1.3 Wed Apr 12 16:57:39 2006 +++ llvm/test/Transforms/Reassociate/dg.exp Wed Apr 11 14:56:59 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/CorrelatedExprs/dg.exp
Changes in directory llvm/test/Transforms/CorrelatedExprs: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/CorrelatedExprs/dg.exp diff -u llvm/test/Transforms/CorrelatedExprs/dg.exp:1.3 llvm/test/Transforms/CorrelatedExprs/dg.exp:1.4 --- llvm/test/Transforms/CorrelatedExprs/dg.exp:1.3 Wed Apr 12 16:57:36 2006 +++ llvm/test/Transforms/CorrelatedExprs/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/IndVarsSimplify/dg.exp
Changes in directory llvm/test/Transforms/IndVarsSimplify: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/IndVarsSimplify/dg.exp diff -u llvm/test/Transforms/IndVarsSimplify/dg.exp:1.3 llvm/test/Transforms/IndVarsSimplify/dg.exp:1.4 --- llvm/test/Transforms/IndVarsSimplify/dg.exp:1.3 Wed Apr 12 16:57:38 2006 +++ llvm/test/Transforms/IndVarsSimplify/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/LoopStrengthReduce/dg.exp
Changes in directory llvm/test/Transforms/LoopStrengthReduce: dg.exp updated: 1.2 - 1.3 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/LoopStrengthReduce/dg.exp diff -u llvm/test/Transforms/LoopStrengthReduce/dg.exp:1.2 llvm/test/Transforms/LoopStrengthReduce/dg.exp:1.3 --- llvm/test/Transforms/LoopStrengthReduce/dg.exp:1.2 Wed Apr 12 16:57:38 2006 +++ llvm/test/Transforms/LoopStrengthReduce/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/LCSSA/dg.exp
Changes in directory llvm/test/Transforms/LCSSA: dg.exp updated: 1.1 - 1.2 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/LCSSA/dg.exp diff -u llvm/test/Transforms/LCSSA/dg.exp:1.1 llvm/test/Transforms/LCSSA/dg.exp:1.2 --- llvm/test/Transforms/LCSSA/dg.exp:1.1 Fri May 26 16:59:20 2006 +++ llvm/test/Transforms/LCSSA/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/DeadStoreElimination/dg.exp
Changes in directory llvm/test/Transforms/DeadStoreElimination: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/DeadStoreElimination/dg.exp diff -u llvm/test/Transforms/DeadStoreElimination/dg.exp:1.3 llvm/test/Transforms/DeadStoreElimination/dg.exp:1.4 --- llvm/test/Transforms/DeadStoreElimination/dg.exp:1.3Wed Apr 12 16:57:36 2006 +++ llvm/test/Transforms/DeadStoreElimination/dg.expWed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/IPConstantProp/dg.exp
Changes in directory llvm/test/Transforms/IPConstantProp: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/IPConstantProp/dg.exp diff -u llvm/test/Transforms/IPConstantProp/dg.exp:1.3 llvm/test/Transforms/IPConstantProp/dg.exp:1.4 --- llvm/test/Transforms/IPConstantProp/dg.exp:1.3 Wed Apr 12 16:57:37 2006 +++ llvm/test/Transforms/IPConstantProp/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Transforms/DecomposeMultiDimRefs/dg.exp
Changes in directory llvm/test/Transforms/DecomposeMultiDimRefs: dg.exp updated: 1.3 - 1.4 --- Log message: Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. --- Diffs of the changes: (+1 -1) dg.exp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/DecomposeMultiDimRefs/dg.exp diff -u llvm/test/Transforms/DecomposeMultiDimRefs/dg.exp:1.3 llvm/test/Transforms/DecomposeMultiDimRefs/dg.exp:1.4 --- llvm/test/Transforms/DecomposeMultiDimRefs/dg.exp:1.3 Wed Apr 12 16:57:36 2006 +++ llvm/test/Transforms/DecomposeMultiDimRefs/dg.exp Wed Apr 11 14:56:58 2007 @@ -1,3 +1,3 @@ load_lib llvm-dg.exp -llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] $objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version +llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
Re: [llvm-commits] CVS: llvm/test/TableGen/dg.exp
Make the llvm-runtest function much more amenable by eliminating all the global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. yay! :) -Chris ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
Re: [llvm-commits] CVS: llvm/test/Feature/llvm2cpp.ll
On Apr 11, 2007, at 12:54 PM, Reid Spencer wrote: + ; RUN: llvm-as %s | llvm-dis %t1.ll + ; RUN: llvm-as %s | llvm2cpp -gen-program -o %t2.cpp - + ; RUN: gcc -g -D__STDC_LIMIT_MACROS -o %t2.exe %t2.cpp -I%I -L%L - lLLVMCore -lLLVMSupport -lLLVMbzip2 -lLLVMSystem -lstdc++ + ; RUN: %t2.exe %t2.ll + ; RUN: diff %t1.ll %t2.ll + I don't think that hard coding 'gcc' in here is a good idea. Can you pass down $(CC) from autoconf? -Chris ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
Re: [llvm-commits] CVS: llvm/test/Feature/llvm2cpp.ll
Chris Lattner wrote: On Apr 11, 2007, at 12:54 PM, Reid Spencer wrote: + ; RUN: llvm-as %s | llvm-dis %t1.ll + ; RUN: llvm-as %s | llvm2cpp -gen-program -o %t2.cpp - + ; RUN: gcc -g -D__STDC_LIMIT_MACROS -o %t2.exe %t2.cpp -I%I -L%L - lLLVMCore -lLLVMSupport -lLLVMbzip2 -lLLVMSystem -lstdc++ + ; RUN: %t2.exe %t2.ll + ; RUN: diff %t1.ll %t2.ll + I don't think that hard coding 'gcc' in here is a good idea. Can you pass down $(CC) from autoconf? -Chris Definitely isn't. I use gcc40 on my system. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
Re: [llvm-commits] CVS: llvm/test/Feature/llvm2cpp.ll
On Wed, 2007-04-11 at 13:43 -0700, Jeff Cohen wrote: Chris Lattner wrote: On Apr 11, 2007, at 12:54 PM, Reid Spencer wrote: + ; RUN: llvm-as %s | llvm-dis %t1.ll + ; RUN: llvm-as %s | llvm2cpp -gen-program -o %t2.cpp - + ; RUN: gcc -g -D__STDC_LIMIT_MACROS -o %t2.exe %t2.cpp -I%I -L%L - lLLVMCore -lLLVMSupport -lLLVMbzip2 -lLLVMSystem -lstdc++ + ; RUN: %t2.exe %t2.ll + ; RUN: diff %t1.ll %t2.ll + I don't think that hard coding 'gcc' in here is a good idea. Can you pass down $(CC) from autoconf? -Chris Definitely isn't. I use gcc40 on my system. I'm fixing this, guys .. hang on. Reid signature.asc Description: This is a digitally signed message part ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Makefile
Changes in directory llvm/test: Makefile updated: 1.94 - 1.95 --- Log message: Make new variables available: compile_c, compile_cxx, link to handle tests that want to use LLVM's notion of compiling and linking programs. This includes all the -I -L and optimization switches that LLVM would using to compile or link any of this files. --- Diffs of the changes: (+5 -1) Makefile |6 +- 1 files changed, 5 insertions(+), 1 deletion(-) Index: llvm/test/Makefile diff -u llvm/test/Makefile:1.94 llvm/test/Makefile:1.95 --- llvm/test/Makefile:1.94 Sun Feb 11 14:18:32 2007 +++ llvm/test/Makefile Wed Apr 11 15:57:39 2007 @@ -59,10 +59,14 @@ @echo 'set objroot $(LLVM_OBJ_ROOT)' site.tmp @echo 'set srcdir $(LLVM_SRC_ROOT)/test' site.tmp @echo 'set objdir $(LLVM_OBJ_ROOT)/test' site.tmp + @echo 'set gccpath $(CC)' site.tmp + @echo 'set gxxpath $(CXX)' site.tmp + @echo 'set compile_c {$(CC) $(CPP.Flags) $(C.Flags) $(CompileCommonOpts) -c } ' site.tmp + @echo 'set compile_cxx {$(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) - c}' site.tmp + @echo 'set link {$(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) $(LD.Flags)}' site.tmp @echo 'set llvmgcc PATH=\$(LLVMToolDir):$(PATH)\ \$(LLVMGCC)\' site.tmp @echo 'set llvmgxx PATH=\$(LLVMToolDir):$(PATH)\ \$(LLVMGCC)\' site.tmp @echo 'set llvmgccmajvers $(LLVMGCC_MAJVERS)' site.tmp - @echo 'set gxxcmd $(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts)' site.tmp @echo '## All variables above are generated by configure. Do Not Edit ## ' site.tmp @test ! -f site.exp || \ sed '1,/^## All variables above are.*##/ d' site.exp site.tmp ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/lib/llvm-dg.exp
Changes in directory llvm/test/lib: llvm-dg.exp updated: 1.15 - 1.16 --- Log message: Make new variables available: compile_c, compile_cxx, link to handle tests that want to use LLVM's notion of compiling and linking programs. This includes all the -I -L and optimization switches that LLVM would using to compile or link any of this files. --- Diffs of the changes: (+16 -20) llvm-dg.exp | 36 1 files changed, 16 insertions(+), 20 deletions(-) Index: llvm/test/lib/llvm-dg.exp diff -u llvm/test/lib/llvm-dg.exp:1.15 llvm/test/lib/llvm-dg.exp:1.16 --- llvm/test/lib/llvm-dg.exp:1.15 Wed Apr 11 14:56:59 2007 +++ llvm/test/lib/llvm-dg.exp Wed Apr 11 15:57:39 2007 @@ -1,6 +1,7 @@ proc llvm-runtest { programs } { -global objdir srcdir subdir target_triplet llvmgcc llvmgxx prcontext -global llvmgcc_version srcroot objroot llvmlibsdir +global srcroot objroot srcdir objdir subdir target_triplet prcontext +global llvmgcc llvmgxx global llvmgcc_version llvmgccmajvers +global gccpath gxxpath compile_c compile_cxx link set timeout 60 @@ -46,30 +47,25 @@ set runline set hasRunline 1 - #replace %s with filename - regsub -all {%s} $runline $test new_runline - - #replace %t with temp filenames - regsub -all {%t} $new_runline [file join Output $tmpFile] new_runline - +set new_runline $runline #replace %prcontext with prcontext.tcl (Must replace before %p) regsub -all {%prcontext} $new_runline $prcontext new_runline - - #replace %p with path to source, - regsub -all {%p} $new_runline [file join $srcdir $subdir] new_runline - #replace %llvmgcc with actual path to llvmgcc regsub -all {%llvmgcc} $new_runline $llvmgcc -emit-llvm new_runline - #replace %llvmgxx with actual path to llvmg++ regsub -all {%llvmgxx} $new_runline $llvmgxx -emit-llvm new_runline - - #replace %L with path to libraries - regsub -all {%L} $new_runline $llvmlibsdir new_runline - - #replace %I with path to includes - regsub -all {%I} $new_runline $srcroot/include new_runline - + #replace %compile_c with C compilation command + regsub -all {%compile_c} $new_runline $compile_c new_runline + #replace %compile_cxx with C++ compilation command + regsub -all {%compile_cxx} $new_runline $compile_cxx new_runline + #replace %link with C++ link command + regsub -all {%link} $new_runline $link new_runline + #replace %p with path to source, + regsub -all {%p} $new_runline [file join $srcdir $subdir] new_runline + #replace %s with filename + regsub -all {%s} $new_runline $test new_runline + #replace %t with temp filenames + regsub -all {%t} $new_runline [file join Output $tmpFile] new_runline puts $scriptFileId $new_runline } elseif {[regexp {XFAIL:[ *](.+)} $line match targets]} { set targets ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits