[llvm] db8a3c4 - [NFC] Create X86 subdirectory for indvar tests

Sam Parker via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 05:25:15 PDT 2020


Author: Sam Parker
Date: 2020-03-26T12:24:45Z
New Revision: db8a3c4206d7ff789d8c872cbcaff9719fe1aef7

URL: https://github.com/llvm/llvm-project/commit/db8a3c4206d7ff789d8c872cbcaff9719fe1aef7
DIFF: https://github.com/llvm/llvm-project/commit/db8a3c4206d7ff789d8c872cbcaff9719fe1aef7.diff

LOG: [NFC] Create X86 subdirectory for indvar tests

Many IndVarSiimplify tests target an x86 triple, so move them into
a target specific folder.

Added: 
    llvm/test/Transforms/IndVarSimplify/X86/2009-04-14-shorten_iv_vars.ll
    llvm/test/Transforms/IndVarSimplify/X86/2009-04-15-shorten-iv-vars-2.ll
    llvm/test/Transforms/IndVarSimplify/X86/2011-11-15-multiexit.ll
    llvm/test/Transforms/IndVarSimplify/X86/deterministic-scev-verify.ll
    llvm/test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll
    llvm/test/Transforms/IndVarSimplify/X86/huge_muls.ll
    llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value.ll
    llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value2.ll
    llvm/test/Transforms/IndVarSimplify/X86/inner-loop-by-latch-cond.ll
    llvm/test/Transforms/IndVarSimplify/X86/inner-loop.ll
    llvm/test/Transforms/IndVarSimplify/X86/iv-widen.ll
    llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg
    llvm/test/Transforms/IndVarSimplify/X86/loop-invariant-conditions.ll
    llvm/test/Transforms/IndVarSimplify/X86/loop_evaluate10.ll
    llvm/test/Transforms/IndVarSimplify/X86/overflow-intrinsics.ll
    llvm/test/Transforms/IndVarSimplify/X86/polynomial-expand.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr24356.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr24804.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr24956.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr25047.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr25051.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr25360.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr25421.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr25576.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr26973.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr27133.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr28935.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr35406.ll
    llvm/test/Transforms/IndVarSimplify/X86/replace-iv-with-loop-invariant.ll
    llvm/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll
    llvm/test/Transforms/IndVarSimplify/X86/uglygep.ll
    llvm/test/Transforms/IndVarSimplify/X86/variable-stride-ivs-1.ll
    llvm/test/Transforms/IndVarSimplify/X86/verify-scev.ll
    llvm/test/Transforms/IndVarSimplify/X86/widen-nsw.ll

Modified: 
    

Removed: 
    llvm/test/Transforms/IndVarSimplify/2009-04-14-shorten_iv_vars.ll
    llvm/test/Transforms/IndVarSimplify/2009-04-15-shorten-iv-vars-2.ll
    llvm/test/Transforms/IndVarSimplify/2011-11-15-multiexit.ll
    llvm/test/Transforms/IndVarSimplify/deterministic-scev-verify.ll
    llvm/test/Transforms/IndVarSimplify/eliminate-trunc.ll
    llvm/test/Transforms/IndVarSimplify/huge_muls.ll
    llvm/test/Transforms/IndVarSimplify/indvar-debug-value.ll
    llvm/test/Transforms/IndVarSimplify/indvar-debug-value2.ll
    llvm/test/Transforms/IndVarSimplify/inner-loop-by-latch-cond.ll
    llvm/test/Transforms/IndVarSimplify/inner-loop.ll
    llvm/test/Transforms/IndVarSimplify/iv-widen.ll
    llvm/test/Transforms/IndVarSimplify/loop-invariant-conditions.ll
    llvm/test/Transforms/IndVarSimplify/loop_evaluate10.ll
    llvm/test/Transforms/IndVarSimplify/overflow-intrinsics.ll
    llvm/test/Transforms/IndVarSimplify/polynomial-expand.ll
    llvm/test/Transforms/IndVarSimplify/pr24356.ll
    llvm/test/Transforms/IndVarSimplify/pr24804.ll
    llvm/test/Transforms/IndVarSimplify/pr24956.ll
    llvm/test/Transforms/IndVarSimplify/pr25047.ll
    llvm/test/Transforms/IndVarSimplify/pr25051.ll
    llvm/test/Transforms/IndVarSimplify/pr25360.ll
    llvm/test/Transforms/IndVarSimplify/pr25421.ll
    llvm/test/Transforms/IndVarSimplify/pr25576.ll
    llvm/test/Transforms/IndVarSimplify/pr26973.ll
    llvm/test/Transforms/IndVarSimplify/pr27133.ll
    llvm/test/Transforms/IndVarSimplify/pr28935.ll
    llvm/test/Transforms/IndVarSimplify/pr35406.ll
    llvm/test/Transforms/IndVarSimplify/replace-iv-with-loop-invariant.ll
    llvm/test/Transforms/IndVarSimplify/scev-phi-debug-info.ll
    llvm/test/Transforms/IndVarSimplify/uglygep.ll
    llvm/test/Transforms/IndVarSimplify/variable-stride-ivs-1.ll
    llvm/test/Transforms/IndVarSimplify/verify-scev.ll
    llvm/test/Transforms/IndVarSimplify/widen-nsw.ll


################################################################################
diff  --git a/llvm/test/Transforms/IndVarSimplify/2009-04-14-shorten_iv_vars.ll b/llvm/test/Transforms/IndVarSimplify/X86/2009-04-14-shorten_iv_vars.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/2009-04-14-shorten_iv_vars.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/2009-04-14-shorten_iv_vars.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/2009-04-15-shorten-iv-vars-2.ll b/llvm/test/Transforms/IndVarSimplify/X86/2009-04-15-shorten-iv-vars-2.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/2009-04-15-shorten-iv-vars-2.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/2009-04-15-shorten-iv-vars-2.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/2011-11-15-multiexit.ll b/llvm/test/Transforms/IndVarSimplify/X86/2011-11-15-multiexit.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/2011-11-15-multiexit.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/2011-11-15-multiexit.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/deterministic-scev-verify.ll b/llvm/test/Transforms/IndVarSimplify/X86/deterministic-scev-verify.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/deterministic-scev-verify.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/deterministic-scev-verify.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/eliminate-trunc.ll b/llvm/test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/eliminate-trunc.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/huge_muls.ll b/llvm/test/Transforms/IndVarSimplify/X86/huge_muls.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/huge_muls.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/huge_muls.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/indvar-debug-value.ll b/llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/indvar-debug-value.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/indvar-debug-value2.ll b/llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value2.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/indvar-debug-value2.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/indvar-debug-value2.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/inner-loop-by-latch-cond.ll b/llvm/test/Transforms/IndVarSimplify/X86/inner-loop-by-latch-cond.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/inner-loop-by-latch-cond.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/inner-loop-by-latch-cond.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/inner-loop.ll b/llvm/test/Transforms/IndVarSimplify/X86/inner-loop.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/inner-loop.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/inner-loop.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/iv-widen.ll b/llvm/test/Transforms/IndVarSimplify/X86/iv-widen.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/iv-widen.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/iv-widen.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg
new file mode 100644
index 000000000000..c8625f4d9d24
--- /dev/null
+++ b/llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg
@@ -0,0 +1,2 @@
+if not 'X86' in config.root.targets:
+    config.unsupported = True

diff  --git a/llvm/test/Transforms/IndVarSimplify/loop-invariant-conditions.ll b/llvm/test/Transforms/IndVarSimplify/X86/loop-invariant-conditions.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/loop-invariant-conditions.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/loop-invariant-conditions.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate10.ll b/llvm/test/Transforms/IndVarSimplify/X86/loop_evaluate10.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/loop_evaluate10.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/loop_evaluate10.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/overflow-intrinsics.ll b/llvm/test/Transforms/IndVarSimplify/X86/overflow-intrinsics.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/overflow-intrinsics.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/overflow-intrinsics.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/polynomial-expand.ll b/llvm/test/Transforms/IndVarSimplify/X86/polynomial-expand.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/polynomial-expand.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/polynomial-expand.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr24356.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr24356.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/pr24356.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/pr24356.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr24804.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr24804.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/pr24804.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/pr24804.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr24956.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr24956.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/pr24956.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/pr24956.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr25047.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr25047.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/pr25047.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/pr25047.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr25051.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr25051.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/pr25051.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/pr25051.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr25360.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr25360.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/pr25360.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/pr25360.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr25421.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr25421.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/pr25421.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/pr25421.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr25576.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr25576.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/pr25576.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/pr25576.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr26973.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr26973.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/pr26973.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/pr26973.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr27133.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr27133.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/pr27133.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/pr27133.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr28935.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr28935.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/pr28935.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/pr28935.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr35406.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr35406.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/pr35406.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/pr35406.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/replace-iv-with-loop-invariant.ll b/llvm/test/Transforms/IndVarSimplify/X86/replace-iv-with-loop-invariant.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/replace-iv-with-loop-invariant.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/replace-iv-with-loop-invariant.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/scev-phi-debug-info.ll b/llvm/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/scev-phi-debug-info.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/uglygep.ll b/llvm/test/Transforms/IndVarSimplify/X86/uglygep.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/uglygep.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/uglygep.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/variable-stride-ivs-1.ll b/llvm/test/Transforms/IndVarSimplify/X86/variable-stride-ivs-1.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/variable-stride-ivs-1.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/variable-stride-ivs-1.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/verify-scev.ll b/llvm/test/Transforms/IndVarSimplify/X86/verify-scev.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/verify-scev.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/verify-scev.ll

diff  --git a/llvm/test/Transforms/IndVarSimplify/widen-nsw.ll b/llvm/test/Transforms/IndVarSimplify/X86/widen-nsw.ll
similarity index 100%
rename from llvm/test/Transforms/IndVarSimplify/widen-nsw.ll
rename to llvm/test/Transforms/IndVarSimplify/X86/widen-nsw.ll


        


More information about the llvm-commits mailing list