From 33ab418b5a8aaa8c943598712dfd82913c39ed3a Mon Sep 17 00:00:00 2001 From: Sam Parker Date: Thu, 26 Mar 2020 12:20:39 +0000 Subject: [PATCH] [NFC] Create X86 subdirectory for indvar tests Many IndVarSiimplify tests target an x86 triple, so move them into a target specific folder. --- .../IndVarSimplify/{ => X86}/2009-04-14-shorten_iv_vars.ll | 0 .../IndVarSimplify/{ => X86}/2009-04-15-shorten-iv-vars-2.ll | 0 .../Transforms/IndVarSimplify/{ => X86}/2011-11-15-multiexit.ll | 0 .../IndVarSimplify/{ => X86}/deterministic-scev-verify.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/eliminate-trunc.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/huge_muls.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/indvar-debug-value.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/indvar-debug-value2.ll | 0 .../IndVarSimplify/{ => X86}/inner-loop-by-latch-cond.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/inner-loop.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/iv-widen.ll | 0 test/Transforms/IndVarSimplify/X86/lit.local.cfg | 2 ++ .../IndVarSimplify/{ => X86}/loop-invariant-conditions.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/loop_evaluate10.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/overflow-intrinsics.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/polynomial-expand.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/pr24356.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/pr24804.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/pr24956.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/pr25047.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/pr25051.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/pr25360.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/pr25421.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/pr25576.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/pr26973.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/pr27133.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/pr28935.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/pr35406.ll | 0 .../IndVarSimplify/{ => X86}/replace-iv-with-loop-invariant.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/scev-phi-debug-info.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/uglygep.ll | 0 .../IndVarSimplify/{ => X86}/variable-stride-ivs-1.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/verify-scev.ll | 0 test/Transforms/IndVarSimplify/{ => X86}/widen-nsw.ll | 0 34 files changed, 2 insertions(+) rename test/Transforms/IndVarSimplify/{ => X86}/2009-04-14-shorten_iv_vars.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/2009-04-15-shorten-iv-vars-2.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/2011-11-15-multiexit.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/deterministic-scev-verify.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/eliminate-trunc.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/huge_muls.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/indvar-debug-value.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/indvar-debug-value2.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/inner-loop-by-latch-cond.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/inner-loop.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/iv-widen.ll (100%) create mode 100644 test/Transforms/IndVarSimplify/X86/lit.local.cfg rename test/Transforms/IndVarSimplify/{ => X86}/loop-invariant-conditions.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/loop_evaluate10.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/overflow-intrinsics.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/polynomial-expand.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/pr24356.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/pr24804.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/pr24956.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/pr25047.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/pr25051.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/pr25360.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/pr25421.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/pr25576.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/pr26973.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/pr27133.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/pr28935.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/pr35406.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/replace-iv-with-loop-invariant.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/scev-phi-debug-info.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/uglygep.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/variable-stride-ivs-1.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/verify-scev.ll (100%) rename test/Transforms/IndVarSimplify/{ => X86}/widen-nsw.ll (100%) diff --git a/test/Transforms/IndVarSimplify/2009-04-14-shorten_iv_vars.ll b/test/Transforms/IndVarSimplify/X86/2009-04-14-shorten_iv_vars.ll similarity index 100% rename from test/Transforms/IndVarSimplify/2009-04-14-shorten_iv_vars.ll rename to test/Transforms/IndVarSimplify/X86/2009-04-14-shorten_iv_vars.ll diff --git a/test/Transforms/IndVarSimplify/2009-04-15-shorten-iv-vars-2.ll b/test/Transforms/IndVarSimplify/X86/2009-04-15-shorten-iv-vars-2.ll similarity index 100% rename from test/Transforms/IndVarSimplify/2009-04-15-shorten-iv-vars-2.ll rename to test/Transforms/IndVarSimplify/X86/2009-04-15-shorten-iv-vars-2.ll diff --git a/test/Transforms/IndVarSimplify/2011-11-15-multiexit.ll b/test/Transforms/IndVarSimplify/X86/2011-11-15-multiexit.ll similarity index 100% rename from test/Transforms/IndVarSimplify/2011-11-15-multiexit.ll rename to test/Transforms/IndVarSimplify/X86/2011-11-15-multiexit.ll diff --git a/test/Transforms/IndVarSimplify/deterministic-scev-verify.ll b/test/Transforms/IndVarSimplify/X86/deterministic-scev-verify.ll similarity index 100% rename from test/Transforms/IndVarSimplify/deterministic-scev-verify.ll rename to test/Transforms/IndVarSimplify/X86/deterministic-scev-verify.ll diff --git a/test/Transforms/IndVarSimplify/eliminate-trunc.ll b/test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll similarity index 100% rename from test/Transforms/IndVarSimplify/eliminate-trunc.ll rename to test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll diff --git a/test/Transforms/IndVarSimplify/huge_muls.ll b/test/Transforms/IndVarSimplify/X86/huge_muls.ll similarity index 100% rename from test/Transforms/IndVarSimplify/huge_muls.ll rename to test/Transforms/IndVarSimplify/X86/huge_muls.ll diff --git a/test/Transforms/IndVarSimplify/indvar-debug-value.ll b/test/Transforms/IndVarSimplify/X86/indvar-debug-value.ll similarity index 100% rename from test/Transforms/IndVarSimplify/indvar-debug-value.ll rename to test/Transforms/IndVarSimplify/X86/indvar-debug-value.ll diff --git a/test/Transforms/IndVarSimplify/indvar-debug-value2.ll b/test/Transforms/IndVarSimplify/X86/indvar-debug-value2.ll similarity index 100% rename from test/Transforms/IndVarSimplify/indvar-debug-value2.ll rename to test/Transforms/IndVarSimplify/X86/indvar-debug-value2.ll diff --git a/test/Transforms/IndVarSimplify/inner-loop-by-latch-cond.ll b/test/Transforms/IndVarSimplify/X86/inner-loop-by-latch-cond.ll similarity index 100% rename from test/Transforms/IndVarSimplify/inner-loop-by-latch-cond.ll rename to test/Transforms/IndVarSimplify/X86/inner-loop-by-latch-cond.ll diff --git a/test/Transforms/IndVarSimplify/inner-loop.ll b/test/Transforms/IndVarSimplify/X86/inner-loop.ll similarity index 100% rename from test/Transforms/IndVarSimplify/inner-loop.ll rename to test/Transforms/IndVarSimplify/X86/inner-loop.ll diff --git a/test/Transforms/IndVarSimplify/iv-widen.ll b/test/Transforms/IndVarSimplify/X86/iv-widen.ll similarity index 100% rename from test/Transforms/IndVarSimplify/iv-widen.ll rename to test/Transforms/IndVarSimplify/X86/iv-widen.ll diff --git a/test/Transforms/IndVarSimplify/X86/lit.local.cfg b/test/Transforms/IndVarSimplify/X86/lit.local.cfg new file mode 100644 index 00000000000..c8625f4d9d2 --- /dev/null +++ b/test/Transforms/IndVarSimplify/X86/lit.local.cfg @@ -0,0 +1,2 @@ +if not 'X86' in config.root.targets: + config.unsupported = True diff --git a/test/Transforms/IndVarSimplify/loop-invariant-conditions.ll b/test/Transforms/IndVarSimplify/X86/loop-invariant-conditions.ll similarity index 100% rename from test/Transforms/IndVarSimplify/loop-invariant-conditions.ll rename to test/Transforms/IndVarSimplify/X86/loop-invariant-conditions.ll diff --git a/test/Transforms/IndVarSimplify/loop_evaluate10.ll b/test/Transforms/IndVarSimplify/X86/loop_evaluate10.ll similarity index 100% rename from test/Transforms/IndVarSimplify/loop_evaluate10.ll rename to test/Transforms/IndVarSimplify/X86/loop_evaluate10.ll diff --git a/test/Transforms/IndVarSimplify/overflow-intrinsics.ll b/test/Transforms/IndVarSimplify/X86/overflow-intrinsics.ll similarity index 100% rename from test/Transforms/IndVarSimplify/overflow-intrinsics.ll rename to test/Transforms/IndVarSimplify/X86/overflow-intrinsics.ll diff --git a/test/Transforms/IndVarSimplify/polynomial-expand.ll b/test/Transforms/IndVarSimplify/X86/polynomial-expand.ll similarity index 100% rename from test/Transforms/IndVarSimplify/polynomial-expand.ll rename to test/Transforms/IndVarSimplify/X86/polynomial-expand.ll diff --git a/test/Transforms/IndVarSimplify/pr24356.ll b/test/Transforms/IndVarSimplify/X86/pr24356.ll similarity index 100% rename from test/Transforms/IndVarSimplify/pr24356.ll rename to test/Transforms/IndVarSimplify/X86/pr24356.ll diff --git a/test/Transforms/IndVarSimplify/pr24804.ll b/test/Transforms/IndVarSimplify/X86/pr24804.ll similarity index 100% rename from test/Transforms/IndVarSimplify/pr24804.ll rename to test/Transforms/IndVarSimplify/X86/pr24804.ll diff --git a/test/Transforms/IndVarSimplify/pr24956.ll b/test/Transforms/IndVarSimplify/X86/pr24956.ll similarity index 100% rename from test/Transforms/IndVarSimplify/pr24956.ll rename to test/Transforms/IndVarSimplify/X86/pr24956.ll diff --git a/test/Transforms/IndVarSimplify/pr25047.ll b/test/Transforms/IndVarSimplify/X86/pr25047.ll similarity index 100% rename from test/Transforms/IndVarSimplify/pr25047.ll rename to test/Transforms/IndVarSimplify/X86/pr25047.ll diff --git a/test/Transforms/IndVarSimplify/pr25051.ll b/test/Transforms/IndVarSimplify/X86/pr25051.ll similarity index 100% rename from test/Transforms/IndVarSimplify/pr25051.ll rename to test/Transforms/IndVarSimplify/X86/pr25051.ll diff --git a/test/Transforms/IndVarSimplify/pr25360.ll b/test/Transforms/IndVarSimplify/X86/pr25360.ll similarity index 100% rename from test/Transforms/IndVarSimplify/pr25360.ll rename to test/Transforms/IndVarSimplify/X86/pr25360.ll diff --git a/test/Transforms/IndVarSimplify/pr25421.ll b/test/Transforms/IndVarSimplify/X86/pr25421.ll similarity index 100% rename from test/Transforms/IndVarSimplify/pr25421.ll rename to test/Transforms/IndVarSimplify/X86/pr25421.ll diff --git a/test/Transforms/IndVarSimplify/pr25576.ll b/test/Transforms/IndVarSimplify/X86/pr25576.ll similarity index 100% rename from test/Transforms/IndVarSimplify/pr25576.ll rename to test/Transforms/IndVarSimplify/X86/pr25576.ll diff --git a/test/Transforms/IndVarSimplify/pr26973.ll b/test/Transforms/IndVarSimplify/X86/pr26973.ll similarity index 100% rename from test/Transforms/IndVarSimplify/pr26973.ll rename to test/Transforms/IndVarSimplify/X86/pr26973.ll diff --git a/test/Transforms/IndVarSimplify/pr27133.ll b/test/Transforms/IndVarSimplify/X86/pr27133.ll similarity index 100% rename from test/Transforms/IndVarSimplify/pr27133.ll rename to test/Transforms/IndVarSimplify/X86/pr27133.ll diff --git a/test/Transforms/IndVarSimplify/pr28935.ll b/test/Transforms/IndVarSimplify/X86/pr28935.ll similarity index 100% rename from test/Transforms/IndVarSimplify/pr28935.ll rename to test/Transforms/IndVarSimplify/X86/pr28935.ll diff --git a/test/Transforms/IndVarSimplify/pr35406.ll b/test/Transforms/IndVarSimplify/X86/pr35406.ll similarity index 100% rename from test/Transforms/IndVarSimplify/pr35406.ll rename to test/Transforms/IndVarSimplify/X86/pr35406.ll diff --git a/test/Transforms/IndVarSimplify/replace-iv-with-loop-invariant.ll b/test/Transforms/IndVarSimplify/X86/replace-iv-with-loop-invariant.ll similarity index 100% rename from test/Transforms/IndVarSimplify/replace-iv-with-loop-invariant.ll rename to test/Transforms/IndVarSimplify/X86/replace-iv-with-loop-invariant.ll diff --git a/test/Transforms/IndVarSimplify/scev-phi-debug-info.ll b/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll similarity index 100% rename from test/Transforms/IndVarSimplify/scev-phi-debug-info.ll rename to test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll diff --git a/test/Transforms/IndVarSimplify/uglygep.ll b/test/Transforms/IndVarSimplify/X86/uglygep.ll similarity index 100% rename from test/Transforms/IndVarSimplify/uglygep.ll rename to test/Transforms/IndVarSimplify/X86/uglygep.ll diff --git a/test/Transforms/IndVarSimplify/variable-stride-ivs-1.ll b/test/Transforms/IndVarSimplify/X86/variable-stride-ivs-1.ll similarity index 100% rename from test/Transforms/IndVarSimplify/variable-stride-ivs-1.ll rename to test/Transforms/IndVarSimplify/X86/variable-stride-ivs-1.ll diff --git a/test/Transforms/IndVarSimplify/verify-scev.ll b/test/Transforms/IndVarSimplify/X86/verify-scev.ll similarity index 100% rename from test/Transforms/IndVarSimplify/verify-scev.ll rename to test/Transforms/IndVarSimplify/X86/verify-scev.ll diff --git a/test/Transforms/IndVarSimplify/widen-nsw.ll b/test/Transforms/IndVarSimplify/X86/widen-nsw.ll similarity index 100% rename from test/Transforms/IndVarSimplify/widen-nsw.ll rename to test/Transforms/IndVarSimplify/X86/widen-nsw.ll