From 74786c0f4360db7547f8a12980260b5b7a441627 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64624 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../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 ++ test/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 +++ test/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 +++ test/Transforms/IndVarSimplify/dg.exp | 3 + test/Transforms/IndVarSimplify/exit_value_tests.ll | 114 +++++++++ .../IndVarSimplify/iterationCount_zext_or_trunc.ll | 25 ++ test/Transforms/IndVarSimplify/lftr_simple.ll | 22 ++ test/Transforms/IndVarSimplify/loop_evaluate_1.ll | 21 ++ test/Transforms/IndVarSimplify/loop_evaluate_2.ll | 28 ++ test/Transforms/IndVarSimplify/loop_evaluate_3.ll | 19 ++ test/Transforms/IndVarSimplify/loop_evaluate_4.ll | 20 ++ test/Transforms/IndVarSimplify/pointer-indvars.ll | 15 ++ .../promote-iv-to-eliminate-casts.ll | 100 ++++++++ test/Transforms/IndVarSimplify/subtract.ll | 15 ++ .../Transforms/IndVarSimplify/tripcount_compute.ll | 100 ++++++++ .../IndVarSimplify/tripcount_infinite.ll | 38 +++ .../IndVarSimplify/variable-stride-ivs.ll | 43 ++++ .../IndVarsSimplify/2002-09-09-PointerIndVar.ll | 17 -- .../IndVarsSimplify/2003-04-16-ExprAnalysis.ll | 17 -- .../IndVarsSimplify/2003-09-12-MultiplePred.ll | 15 -- .../IndVarsSimplify/2003-09-23-NotAtTop.ll | 17 -- .../IndVarsSimplify/2003-12-10-IndVarDeadCode.ll | 25 -- .../IndVarsSimplify/2003-12-10-RemoveInstrCrash.ll | 18 -- .../Transforms/IndVarsSimplify/2003-12-15-Crash.ll | 24 -- .../IndVarsSimplify/2003-12-21-IndVarSize.ll | 15 -- .../IndVarsSimplify/2004-03-10-PHIInsertionBug.ll | 26 -- .../IndVarsSimplify/2004-04-05-InvokeCastCrash.ll | 283 --------------------- .../2004-04-07-ScalarEvolutionCrash.ll | 27 -- .../IndVarsSimplify/2005-02-11-InvokeCrash.ll | 23 -- .../2005-02-17-TruncateExprCrash.ll | 61 ----- .../IndVarsSimplify/2005-02-26-ExitValueCompute.ll | 20 -- .../IndVarsSimplify/2005-06-15-InstMoveCrash.ll | 37 --- .../Transforms/IndVarsSimplify/2005-11-18-Crash.ll | 17 -- .../IndVarsSimplify/2006-03-31-NegativeStride.ll | 22 -- .../2006-06-16-Indvar-LCSSA-Crash.ll | 22 -- .../IndVarsSimplify/2006-09-20-LFTR-Crash.ll | 44 ---- .../IndVarsSimplify/2006-12-10-BitCast.ll | 33 --- .../IndVarsSimplify/2007-01-06-TripCount.ll | 38 --- .../IndVarsSimplify/2007-01-08-X86-64-Pointer.ll | 19 -- .../IndVarsSimplify/2007-06-06-DeleteDanglesPtr.ll | 117 --------- .../IndVarsSimplify/2007-11-23-BitcastCrash.ll | 20 -- .../IndVarsSimplify/2008-06-15-SCEVExpanderBug.ll | 17 -- .../IndVarsSimplify/2008-09-02-IVType.ll | 58 ----- .../IndVarsSimplify/2008-10-03-CouldNotCompute.ll | 32 --- .../IndVarsSimplify/2008-11-03-Floating.ll | 65 ----- .../IndVarsSimplify/2008-11-17-Floating.ll | 35 --- .../IndVarsSimplify/2008-11-25-APFloatAssert.ll | 11 - test/Transforms/IndVarsSimplify/complex-scev.ll | 29 --- test/Transforms/IndVarsSimplify/dg.exp | 3 - .../Transforms/IndVarsSimplify/exit_value_tests.ll | 114 --------- .../iterationCount_zext_or_trunc.ll | 25 -- test/Transforms/IndVarsSimplify/lftr_simple.ll | 22 -- test/Transforms/IndVarsSimplify/loop_evaluate_1.ll | 21 -- test/Transforms/IndVarsSimplify/loop_evaluate_2.ll | 28 -- test/Transforms/IndVarsSimplify/loop_evaluate_3.ll | 19 -- test/Transforms/IndVarsSimplify/loop_evaluate_4.ll | 20 -- test/Transforms/IndVarsSimplify/pointer-indvars.ll | 15 -- .../promote-iv-to-eliminate-casts.ll | 100 -------- test/Transforms/IndVarsSimplify/subtract.ll | 15 -- .../IndVarsSimplify/tripcount_compute.ll | 100 -------- .../IndVarsSimplify/tripcount_infinite.ll | 38 --- .../IndVarsSimplify/variable-stride-ivs.ll | 43 ---- 90 files changed, 1767 insertions(+), 1767 deletions(-) create mode 100644 test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll create mode 100644 test/Transforms/IndVarSimplify/2003-04-16-ExprAnalysis.ll create mode 100644 test/Transforms/IndVarSimplify/2003-09-12-MultiplePred.ll create mode 100644 test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll create mode 100644 test/Transforms/IndVarSimplify/2003-12-10-IndVarDeadCode.ll create mode 100644 test/Transforms/IndVarSimplify/2003-12-10-RemoveInstrCrash.ll create mode 100644 test/Transforms/IndVarSimplify/2003-12-15-Crash.ll create mode 100644 test/Transforms/IndVarSimplify/2003-12-21-IndVarSize.ll create mode 100644 test/Transforms/IndVarSimplify/2004-03-10-PHIInsertionBug.ll create mode 100644 test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll create mode 100644 test/Transforms/IndVarSimplify/2004-04-07-ScalarEvolutionCrash.ll create mode 100644 test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll create mode 100644 test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll create mode 100644 test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll create mode 100644 test/Transforms/IndVarSimplify/2005-06-15-InstMoveCrash.ll create mode 100644 test/Transforms/IndVarSimplify/2005-11-18-Crash.ll create mode 100644 test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll create mode 100644 test/Transforms/IndVarSimplify/2006-06-16-Indvar-LCSSA-Crash.ll create mode 100644 test/Transforms/IndVarSimplify/2006-09-20-LFTR-Crash.ll create mode 100644 test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll create mode 100644 test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll create mode 100644 test/Transforms/IndVarSimplify/2007-01-08-X86-64-Pointer.ll create mode 100644 test/Transforms/IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll create mode 100644 test/Transforms/IndVarSimplify/2007-11-23-BitcastCrash.ll create mode 100644 test/Transforms/IndVarSimplify/2008-06-15-SCEVExpanderBug.ll create mode 100644 test/Transforms/IndVarSimplify/2008-09-02-IVType.ll create mode 100644 test/Transforms/IndVarSimplify/2008-10-03-CouldNotCompute.ll create mode 100644 test/Transforms/IndVarSimplify/2008-11-03-Floating.ll create mode 100644 test/Transforms/IndVarSimplify/2008-11-17-Floating.ll create mode 100644 test/Transforms/IndVarSimplify/2008-11-25-APFloatAssert.ll create mode 100644 test/Transforms/IndVarSimplify/complex-scev.ll create mode 100644 test/Transforms/IndVarSimplify/dg.exp create mode 100644 test/Transforms/IndVarSimplify/exit_value_tests.ll create mode 100644 test/Transforms/IndVarSimplify/iterationCount_zext_or_trunc.ll create mode 100644 test/Transforms/IndVarSimplify/lftr_simple.ll create mode 100644 test/Transforms/IndVarSimplify/loop_evaluate_1.ll create mode 100644 test/Transforms/IndVarSimplify/loop_evaluate_2.ll create mode 100644 test/Transforms/IndVarSimplify/loop_evaluate_3.ll create mode 100644 test/Transforms/IndVarSimplify/loop_evaluate_4.ll create mode 100644 test/Transforms/IndVarSimplify/pointer-indvars.ll create mode 100644 test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll create mode 100644 test/Transforms/IndVarSimplify/subtract.ll create mode 100644 test/Transforms/IndVarSimplify/tripcount_compute.ll create mode 100644 test/Transforms/IndVarSimplify/tripcount_infinite.ll create mode 100644 test/Transforms/IndVarSimplify/variable-stride-ivs.ll delete mode 100644 test/Transforms/IndVarsSimplify/2002-09-09-PointerIndVar.ll delete mode 100644 test/Transforms/IndVarsSimplify/2003-04-16-ExprAnalysis.ll delete mode 100644 test/Transforms/IndVarsSimplify/2003-09-12-MultiplePred.ll delete mode 100644 test/Transforms/IndVarsSimplify/2003-09-23-NotAtTop.ll delete mode 100644 test/Transforms/IndVarsSimplify/2003-12-10-IndVarDeadCode.ll delete mode 100644 test/Transforms/IndVarsSimplify/2003-12-10-RemoveInstrCrash.ll delete mode 100644 test/Transforms/IndVarsSimplify/2003-12-15-Crash.ll delete mode 100644 test/Transforms/IndVarsSimplify/2003-12-21-IndVarSize.ll delete mode 100644 test/Transforms/IndVarsSimplify/2004-03-10-PHIInsertionBug.ll delete mode 100644 test/Transforms/IndVarsSimplify/2004-04-05-InvokeCastCrash.ll delete mode 100644 test/Transforms/IndVarsSimplify/2004-04-07-ScalarEvolutionCrash.ll delete mode 100644 test/Transforms/IndVarsSimplify/2005-02-11-InvokeCrash.ll delete mode 100644 test/Transforms/IndVarsSimplify/2005-02-17-TruncateExprCrash.ll delete mode 100644 test/Transforms/IndVarsSimplify/2005-02-26-ExitValueCompute.ll delete mode 100644 test/Transforms/IndVarsSimplify/2005-06-15-InstMoveCrash.ll delete mode 100644 test/Transforms/IndVarsSimplify/2005-11-18-Crash.ll delete mode 100644 test/Transforms/IndVarsSimplify/2006-03-31-NegativeStride.ll delete mode 100644 test/Transforms/IndVarsSimplify/2006-06-16-Indvar-LCSSA-Crash.ll delete mode 100644 test/Transforms/IndVarsSimplify/2006-09-20-LFTR-Crash.ll delete mode 100644 test/Transforms/IndVarsSimplify/2006-12-10-BitCast.ll delete mode 100644 test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll delete mode 100644 test/Transforms/IndVarsSimplify/2007-01-08-X86-64-Pointer.ll delete mode 100644 test/Transforms/IndVarsSimplify/2007-06-06-DeleteDanglesPtr.ll delete mode 100644 test/Transforms/IndVarsSimplify/2007-11-23-BitcastCrash.ll delete mode 100644 test/Transforms/IndVarsSimplify/2008-06-15-SCEVExpanderBug.ll delete mode 100644 test/Transforms/IndVarsSimplify/2008-09-02-IVType.ll delete mode 100644 test/Transforms/IndVarsSimplify/2008-10-03-CouldNotCompute.ll delete mode 100644 test/Transforms/IndVarsSimplify/2008-11-03-Floating.ll delete mode 100644 test/Transforms/IndVarsSimplify/2008-11-17-Floating.ll delete mode 100644 test/Transforms/IndVarsSimplify/2008-11-25-APFloatAssert.ll delete mode 100644 test/Transforms/IndVarsSimplify/complex-scev.ll delete mode 100644 test/Transforms/IndVarsSimplify/dg.exp delete mode 100644 test/Transforms/IndVarsSimplify/exit_value_tests.ll delete mode 100644 test/Transforms/IndVarsSimplify/iterationCount_zext_or_trunc.ll delete mode 100644 test/Transforms/IndVarsSimplify/lftr_simple.ll delete mode 100644 test/Transforms/IndVarsSimplify/loop_evaluate_1.ll delete mode 100644 test/Transforms/IndVarsSimplify/loop_evaluate_2.ll delete mode 100644 test/Transforms/IndVarsSimplify/loop_evaluate_3.ll delete mode 100644 test/Transforms/IndVarsSimplify/loop_evaluate_4.ll delete mode 100644 test/Transforms/IndVarsSimplify/pointer-indvars.ll delete mode 100644 test/Transforms/IndVarsSimplify/promote-iv-to-eliminate-casts.ll delete mode 100644 test/Transforms/IndVarsSimplify/subtract.ll delete mode 100644 test/Transforms/IndVarsSimplify/tripcount_compute.ll delete mode 100644 test/Transforms/IndVarsSimplify/tripcount_infinite.ll delete mode 100644 test/Transforms/IndVarsSimplify/variable-stride-ivs.ll (limited to 'test/Transforms') diff --git a/test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll b/test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll new file mode 100644 index 0000000..228772e --- /dev/null +++ b/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) { +;