From 73f794af6a4814ab81743f3b1237e4d042bc87d9 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 16 Feb 2009 00:56:15 +0000 Subject: Rename IndVarsSimplify to IndVarSimplify, to be consistent with the name used in the code that these tests are for. llvm-svn: 64624 --- .../IndVarSimplify/2002-09-09-PointerIndVar.ll | 17 ++ .../IndVarSimplify/2003-04-16-ExprAnalysis.ll | 17 ++ .../IndVarSimplify/2003-09-12-MultiplePred.ll | 15 ++ .../IndVarSimplify/2003-09-23-NotAtTop.ll | 17 ++ .../IndVarSimplify/2003-12-10-IndVarDeadCode.ll | 25 ++ .../IndVarSimplify/2003-12-10-RemoveInstrCrash.ll | 18 ++ .../Transforms/IndVarSimplify/2003-12-15-Crash.ll | 24 ++ .../IndVarSimplify/2003-12-21-IndVarSize.ll | 15 ++ .../IndVarSimplify/2004-03-10-PHIInsertionBug.ll | 26 ++ .../IndVarSimplify/2004-04-05-InvokeCastCrash.ll | 283 +++++++++++++++++++++ .../2004-04-07-ScalarEvolutionCrash.ll | 27 ++ .../IndVarSimplify/2005-02-11-InvokeCrash.ll | 23 ++ .../IndVarSimplify/2005-02-17-TruncateExprCrash.ll | 61 +++++ .../IndVarSimplify/2005-02-26-ExitValueCompute.ll | 20 ++ .../IndVarSimplify/2005-06-15-InstMoveCrash.ll | 37 +++ .../Transforms/IndVarSimplify/2005-11-18-Crash.ll | 17 ++ .../IndVarSimplify/2006-03-31-NegativeStride.ll | 22 ++ .../2006-06-16-Indvar-LCSSA-Crash.ll | 22 ++ .../IndVarSimplify/2006-09-20-LFTR-Crash.ll | 44 ++++ .../IndVarSimplify/2006-12-10-BitCast.ll | 33 +++ .../IndVarSimplify/2007-01-06-TripCount.ll | 38 +++ .../IndVarSimplify/2007-01-08-X86-64-Pointer.ll | 19 ++ .../IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll | 117 +++++++++ .../IndVarSimplify/2007-11-23-BitcastCrash.ll | 20 ++ .../IndVarSimplify/2008-06-15-SCEVExpanderBug.ll | 17 ++ .../Transforms/IndVarSimplify/2008-09-02-IVType.ll | 58 +++++ .../IndVarSimplify/2008-10-03-CouldNotCompute.ll | 32 +++ .../IndVarSimplify/2008-11-03-Floating.ll | 65 +++++ .../IndVarSimplify/2008-11-17-Floating.ll | 35 +++ .../IndVarSimplify/2008-11-25-APFloatAssert.ll | 11 + .../test/Transforms/IndVarSimplify/complex-scev.ll | 29 +++ llvm/test/Transforms/IndVarSimplify/dg.exp | 3 + .../Transforms/IndVarSimplify/exit_value_tests.ll | 114 +++++++++ .../IndVarSimplify/iterationCount_zext_or_trunc.ll | 25 ++ llvm/test/Transforms/IndVarSimplify/lftr_simple.ll | 22 ++ .../Transforms/IndVarSimplify/loop_evaluate_1.ll | 21 ++ .../Transforms/IndVarSimplify/loop_evaluate_2.ll | 28 ++ .../Transforms/IndVarSimplify/loop_evaluate_3.ll | 19 ++ .../Transforms/IndVarSimplify/loop_evaluate_4.ll | 20 ++ .../Transforms/IndVarSimplify/pointer-indvars.ll | 15 ++ .../promote-iv-to-eliminate-casts.ll | 100 ++++++++ llvm/test/Transforms/IndVarSimplify/subtract.ll | 15 ++ .../Transforms/IndVarSimplify/tripcount_compute.ll | 100 ++++++++ .../IndVarSimplify/tripcount_infinite.ll | 38 +++ .../IndVarSimplify/variable-stride-ivs.ll | 43 ++++ 45 files changed, 1767 insertions(+) create mode 100644 llvm/test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2003-04-16-ExprAnalysis.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2003-09-12-MultiplePred.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2003-12-10-RemoveInstrCrash.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2003-12-15-Crash.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2003-12-21-IndVarSize.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2004-03-10-PHIInsertionBug.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2004-04-07-ScalarEvolutionCrash.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2005-06-15-InstMoveCrash.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2005-11-18-Crash.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2006-06-16-Indvar-LCSSA-Crash.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2006-09-20-LFTR-Crash.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2007-01-08-X86-64-Pointer.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2007-11-23-BitcastCrash.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2008-06-15-SCEVExpanderBug.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2008-09-02-IVType.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2008-10-03-CouldNotCompute.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2008-11-03-Floating.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2008-11-17-Floating.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/2008-11-25-APFloatAssert.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/complex-scev.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/dg.exp create mode 100644 llvm/test/Transforms/IndVarSimplify/exit_value_tests.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/iterationCount_zext_or_trunc.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/lftr_simple.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/loop_evaluate_1.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/loop_evaluate_2.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/loop_evaluate_3.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/loop_evaluate_4.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/pointer-indvars.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/subtract.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/tripcount_infinite.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/variable-stride-ivs.ll (limited to 'llvm/test/Transforms/IndVarSimplify') diff --git a/llvm/test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll b/llvm/test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll new file mode 100644 index 00000000000..228772eb82c --- /dev/null +++ b/llvm/test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll @@ -0,0 +1,17 @@ +; Induction variable pass is doing bad things with pointer induction vars, +; trying to do arithmetic on them directly. +; +; RUN: llvm-as < %s | opt -indvars +; +define void @test(i32 %A, i32 %S, i8* %S.upgrd.1) { +;