[llvm] 8e7b25b - [NFC] Move ARM `opt -indvars` test from Codegen into Transforms
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 3 10:15:32 PDT 2020
Author: Roman Lebedev
Date: 2020-04-03T20:15:03+03:00
New Revision: 8e7b25bb401ada4e1d5d026712150ab43598a79e
URL: https://github.com/llvm/llvm-project/commit/8e7b25bb401ada4e1d5d026712150ab43598a79e
DIFF: https://github.com/llvm/llvm-project/commit/8e7b25bb401ada4e1d5d026712150ab43598a79e.diff
LOG: [NFC] Move ARM `opt -indvars` test from Codegen into Transforms
They are really not codegen tests.
Added:
llvm/test/Transforms/IndVarSimplify/ARM/indvar-cost.ll
llvm/test/Transforms/IndVarSimplify/ARM/indvar-unroll-imm-cost.ll
llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg
Modified:
Removed:
llvm/test/CodeGen/ARM/indvar-cost.ll
llvm/test/CodeGen/ARM/indvar-unroll-imm-cost.ll
################################################################################
diff --git a/llvm/test/CodeGen/ARM/indvar-cost.ll b/llvm/test/Transforms/IndVarSimplify/ARM/indvar-cost.ll
similarity index 100%
rename from llvm/test/CodeGen/ARM/indvar-cost.ll
rename to llvm/test/Transforms/IndVarSimplify/ARM/indvar-cost.ll
diff --git a/llvm/test/CodeGen/ARM/indvar-unroll-imm-cost.ll b/llvm/test/Transforms/IndVarSimplify/ARM/indvar-unroll-imm-cost.ll
similarity index 100%
rename from llvm/test/CodeGen/ARM/indvar-unroll-imm-cost.ll
rename to llvm/test/Transforms/IndVarSimplify/ARM/indvar-unroll-imm-cost.ll
diff --git a/llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg
new file mode 100644
index 000000000000..236e1d344166
--- /dev/null
+++ b/llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg
@@ -0,0 +1,2 @@
+if not 'ARM' in config.root.targets:
+ config.unsupported = True
More information about the llvm-commits
mailing list