For PR950:
authorReid Spencer <rspencer@reidspencer.com>
Sun, 31 Dec 2006 06:02:00 +0000 (06:02 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 31 Dec 2006 06:02:00 +0000 (06:02 +0000)
commiteacb7020ec7b0a6a0078f1be7bfd77bf6fe1ff06
treeac1b0bfa8c340bb02ac25f991a1ee28b216de458
parent47857812e29324a9d1560796a05b53d3a9217fd9
For PR950:
Update the test suite to accommodate the change from signed integer types
to signless integer types. The changes were of only a few kinds:

1. Make sure llvm-upgrade is run on the source which does the bulk of the
   changes automatically.

2. Change things like "grep 'int'" to "grep 'i32'"

3. In several tests bitcasting caused the same name to be reused in the
   same type plane. These had to be manually fixed. The fix was (generally)
   to leave the bitcast and provide the instruction with a new name. This
   should not affect the semantics of the test. In a few cases, the
   bitcasts were known to be superfluous and irrelevant to the test case
   so they were removed.

4. One test case uses a bytecode file which needed to be updated to the
   latest bytecode format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32789 91177308-0d34-0410-b5e6-96231b3b80d8
117 files changed:
test/Analysis/BasicAA/2004-07-28-MustAliasbug.llx
test/Analysis/BasicAA/2005-03-09-BrokenBasicAA.ll
test/Analysis/BasicAA/tailcall-modref.ll
test/Analysis/GlobalsModRef/indirect-global.ll
test/Analysis/LoadVN/casts.ll
test/Assembler/2002-07-08-HugePerformanceProblem.llx
test/Assembler/2003-04-15-ConstantInitAssertion.llx
test/Assembler/2003-05-21-MalformedShiftCrash.llx
test/Assembler/2003-05-21-MalformedStructCrash.llx
test/Assembler/2003-11-12-ConstantExprCast.llx
test/Assembler/2003-12-30-TypeMapInvalidMemory.llx
test/Assembler/2004-10-22-BCWriterUndefBug.llx
test/C++Frontend/2006-09-27-Debug-Protection.cpp
test/CFrontend/2005-12-04-DeclarationLineNumbers.c
test/CFrontend/2006-01-16-BitCountIntrinsicsUnsigned.c
test/CFrontend/2006-03-03-MissingInitializer.c
test/CodeGen/ARM/vargs2.ll
test/CodeGen/Alpha/zapnot.ll
test/CodeGen/Generic/2005-10-21-longlonggtu.ll
test/CodeGen/Generic/2006-06-28-SimplifySetCCCrash.ll
test/CodeGen/Generic/SwitchLowering.ll
test/CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.ll
test/CodeGen/PowerPC/and-elim.ll
test/CodeGen/PowerPC/branch-opt.ll
test/CodeGen/PowerPC/rotl.ll
test/CodeGen/PowerPC/small-arguments.ll
test/CodeGen/PowerPC/vec_spat.ll
test/CodeGen/X86/2006-05-02-InstrSched1.ll
test/CodeGen/X86/2006-08-07-CycleInDAG.ll
test/CodeGen/X86/loop-hoist.ll
test/CodeGen/X86/loop-strength-reduce.ll
test/CodeGen/X86/trunc-to-bool.ll
test/CodeGen/X86/vec_ins_extract.ll
test/ExecutionEngine/2003-01-04-PhiTest.ll
test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll
test/ExecutionEngine/2003-06-05-PHIBug.ll
test/ExecutionEngine/2003-08-15-AllocaAssertion.ll
test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll
test/ExecutionEngine/hello.ll
test/ExecutionEngine/hello2.ll
test/ExecutionEngine/simplesttest.ll
test/ExecutionEngine/simpletest.ll
test/ExecutionEngine/test-loadstore.ll
test/ExecutionEngine/test-logical.ll
test/ExecutionEngine/test-malloc.ll
test/ExecutionEngine/test-ret.ll
test/ExecutionEngine/test-shift.ll
test/Linker/2002-07-17-GlobalFail.ll
test/Linker/2002-07-17-LinkTest2.ll
test/Linker/2002-08-20-ConstantExpr.ll
test/Linker/2003-04-26-NullPtrLinkProblem.ll
test/Linker/2003-05-15-TypeProblem.ll
test/Linker/2003-06-02-TypeResolveProblem.ll
test/Linker/2003-06-02-TypeResolveProblem2.ll
test/Linker/2003-08-20-OpaqueTypeResolve.ll
test/Linker/2003-08-23-GlobalVarLinking.ll
test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
test/Linker/2003-10-21-ConflictingTypesTolerance.ll
test/Linker/2003-10-27-LinkOncePromote.ll
test/Linker/2004-02-17-WeakStrongLinkage.ll
test/Linker/2005-02-12-ConstantGlobals-2.ll
test/Linker/2005-02-12-ConstantGlobals.ll
test/Linker/2005-12-06-AppendingZeroLengthArrays.ll
test/Linker/2006-01-19-ConstantPacked.ll
test/Linker/2006-06-15-GlobalVarAlignment.ll
test/Linker/AppendingLinkage2.ll
test/Linker/ConstantGlobals1.ll
test/Linker/ConstantGlobals2.ll
test/Linker/ConstantGlobals3.ll
test/Linker/LinkOnce.ll
test/Linker/weakextern.ll
test/Transforms/ArgumentPromotion/control-flow2.ll
test/Transforms/ConstProp/2006-11-30-vector-cast.ll
test/Transforms/ConstProp/2006-12-01-bool-casts.ll
test/Transforms/ConstProp/bitcast.ll
test/Transforms/ConstProp/float-to-ptr-cast.ll
test/Transforms/DeadStoreElimination/2004-12-28-PartialStore.ll
test/Transforms/DeadStoreElimination/2006-06-27-AST-Remove.ll
test/Transforms/IndVarsSimplify/2005-02-26-ExitValueCompute.ll
test/Transforms/IndVarsSimplify/2006-03-31-NegativeStride.ll
test/Transforms/IndVarsSimplify/variable-stride-ivs.ll
test/Transforms/Inline/casts.ll
test/Transforms/InstCombine/2006-05-06-Infloop.ll
test/Transforms/InstCombine/2006-06-28-infloop.ll
test/Transforms/InstCombine/2006-09-15-CastToBool.ll
test/Transforms/InstCombine/2006-10-19-SignedToUnsignedCastAndConst-2.ll
test/Transforms/InstCombine/2006-10-19-SignedToUnsignedCastAndConst.ll
test/Transforms/InstCombine/deadcode.ll
test/Transforms/InstCombine/fpcast.ll
test/Transforms/InstCombine/shift-sra.ll
test/Transforms/InstCombine/sub.ll
test/Transforms/InstCombine/zeroext-and-reduce.ll
test/Transforms/LCSSA/basictest.ll
test/Transforms/LICM/basictest.ll
test/Transforms/LICM/no-preheader-test.ll
test/Transforms/LoopSimplify/2006-08-11-LoopSimplifyLongTime.ll.bc
test/Transforms/LoopStrengthReduce/nested-reduce.ll
test/Transforms/LoopStrengthReduce/share_code_in_preheader.ll
test/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll
test/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll
test/Transforms/LoopUnswitch/2006-02-14-LoopSimplifyCrash.ll
test/Transforms/PredicateSimplifier/2006-09-20-SetCC.ll
test/Transforms/Reassociate/2005-09-01-ArrayOutOfBounds.ll
test/Transforms/Reassociate/shifttest.ll
test/Transforms/SCCP/2004-12-10-UndefBranchBug.ll
test/Transforms/SCCP/2006-12-04-PackedType.ll
test/Transforms/SCCP/ipsccp-basic.ll
test/Transforms/SCCP/ipsccp-conditional.ll
test/Transforms/SCCP/logical-nuke.ll
test/Transforms/ScalarRepl/2006-11-07-InvalidArrayPromote.ll
test/Transforms/ScalarRepl/union-fp-int.ll
test/Transforms/ScalarRepl/union-pointer.ll
test/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll
test/Transforms/SimplifyCFG/2006-12-08-Ptr-ICmp-Branch.ll
test/Transforms/SimplifyLibCalls/ExitInMain.ll
test/Transforms/TailCallElim/dont-tce-tail-marked-call.ll
test/Transforms/TailCallElim/move_alloca_for_tail_call.ll