From 7ef469f9512830b22e15238e859979ce14874a4b Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 28 Aug 2015 20:33:56 +0000 Subject: [PATCH] Split the gold tests into X86 and PowerPC directories. Patch by Than McIntosh! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246328 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/gold/{ => PowerPC}/lit.local.cfg | 1 - test/tools/gold/{ => PowerPC}/mtriple.ll | 0 test/tools/gold/{ => X86}/Inputs/alias-1.ll | 0 test/tools/gold/{ => X86}/Inputs/bcsection.s | 0 test/tools/gold/{ => X86}/Inputs/comdat.ll | 0 test/tools/gold/{ => X86}/Inputs/common.ll | 0 test/tools/gold/{ => X86}/Inputs/drop-debug.bc | Bin test/tools/gold/{ => X86}/Inputs/invalid.bc | Bin test/tools/gold/{ => X86}/Inputs/linker-script.export | 0 test/tools/gold/{ => X86}/Inputs/linkonce-weak.ll | 0 test/tools/gold/{ => X86}/Inputs/pr19901-1.ll | 0 test/tools/gold/{ => X86}/Inputs/weak.ll | 0 test/tools/gold/{ => X86}/alias.ll | 0 test/tools/gold/{ => X86}/bad-alias.ll | 0 test/tools/gold/{ => X86}/bcsection.ll | 0 test/tools/gold/{ => X86}/coff.ll | 0 test/tools/gold/{ => X86}/comdat.ll | 0 test/tools/gold/{ => X86}/common.ll | 0 test/tools/gold/{ => X86}/drop-debug.ll | 0 test/tools/gold/{ => X86}/emit-llvm.ll | 0 test/tools/gold/{ => X86}/invalid.ll | 0 test/tools/gold/{ => X86}/linker-script.ll | 0 test/tools/gold/{ => X86}/linkonce-weak.ll | 0 test/tools/gold/X86/lit.local.cfg | 3 +++ test/tools/gold/{ => X86}/no-map-whole-file.ll | 0 test/tools/gold/{ => X86}/opt-level.ll | 0 test/tools/gold/{ => X86}/pr19901.ll | 0 test/tools/gold/{ => X86}/remarks.ll | 0 test/tools/gold/{ => X86}/slp-vectorize.ll | 0 test/tools/gold/{ => X86}/stats.ll | 0 test/tools/gold/{ => X86}/vectorize.ll | 0 test/tools/gold/{ => X86}/weak.ll | 0 32 files changed, 3 insertions(+), 1 deletion(-) rename test/tools/gold/{ => PowerPC}/lit.local.cfg (75%) rename test/tools/gold/{ => PowerPC}/mtriple.ll (100%) rename test/tools/gold/{ => X86}/Inputs/alias-1.ll (100%) rename test/tools/gold/{ => X86}/Inputs/bcsection.s (100%) rename test/tools/gold/{ => X86}/Inputs/comdat.ll (100%) rename test/tools/gold/{ => X86}/Inputs/common.ll (100%) rename test/tools/gold/{ => X86}/Inputs/drop-debug.bc (100%) rename test/tools/gold/{ => X86}/Inputs/invalid.bc (100%) rename test/tools/gold/{ => X86}/Inputs/linker-script.export (100%) rename test/tools/gold/{ => X86}/Inputs/linkonce-weak.ll (100%) rename test/tools/gold/{ => X86}/Inputs/pr19901-1.ll (100%) rename test/tools/gold/{ => X86}/Inputs/weak.ll (100%) rename test/tools/gold/{ => X86}/alias.ll (100%) rename test/tools/gold/{ => X86}/bad-alias.ll (100%) rename test/tools/gold/{ => X86}/bcsection.ll (100%) rename test/tools/gold/{ => X86}/coff.ll (100%) rename test/tools/gold/{ => X86}/comdat.ll (100%) rename test/tools/gold/{ => X86}/common.ll (100%) rename test/tools/gold/{ => X86}/drop-debug.ll (100%) rename test/tools/gold/{ => X86}/emit-llvm.ll (100%) rename test/tools/gold/{ => X86}/invalid.ll (100%) rename test/tools/gold/{ => X86}/linker-script.ll (100%) rename test/tools/gold/{ => X86}/linkonce-weak.ll (100%) create mode 100644 test/tools/gold/X86/lit.local.cfg rename test/tools/gold/{ => X86}/no-map-whole-file.ll (100%) rename test/tools/gold/{ => X86}/opt-level.ll (100%) rename test/tools/gold/{ => X86}/pr19901.ll (100%) rename test/tools/gold/{ => X86}/remarks.ll (100%) rename test/tools/gold/{ => X86}/slp-vectorize.ll (100%) rename test/tools/gold/{ => X86}/stats.ll (100%) rename test/tools/gold/{ => X86}/vectorize.ll (100%) rename test/tools/gold/{ => X86}/weak.ll (100%) diff --git a/test/tools/gold/lit.local.cfg b/test/tools/gold/PowerPC/lit.local.cfg similarity index 75% rename from test/tools/gold/lit.local.cfg rename to test/tools/gold/PowerPC/lit.local.cfg index a59549d47ab..d968938d24c 100644 --- a/test/tools/gold/lit.local.cfg +++ b/test/tools/gold/PowerPC/lit.local.cfg @@ -1,4 +1,3 @@ if (not 'ld_plugin' in config.available_features or - not 'X86' in config.root.targets or not 'PowerPC' in config.root.targets): config.unsupported = True diff --git a/test/tools/gold/mtriple.ll b/test/tools/gold/PowerPC/mtriple.ll similarity index 100% rename from test/tools/gold/mtriple.ll rename to test/tools/gold/PowerPC/mtriple.ll diff --git a/test/tools/gold/Inputs/alias-1.ll b/test/tools/gold/X86/Inputs/alias-1.ll similarity index 100% rename from test/tools/gold/Inputs/alias-1.ll rename to test/tools/gold/X86/Inputs/alias-1.ll diff --git a/test/tools/gold/Inputs/bcsection.s b/test/tools/gold/X86/Inputs/bcsection.s similarity index 100% rename from test/tools/gold/Inputs/bcsection.s rename to test/tools/gold/X86/Inputs/bcsection.s diff --git a/test/tools/gold/Inputs/comdat.ll b/test/tools/gold/X86/Inputs/comdat.ll similarity index 100% rename from test/tools/gold/Inputs/comdat.ll rename to test/tools/gold/X86/Inputs/comdat.ll diff --git a/test/tools/gold/Inputs/common.ll b/test/tools/gold/X86/Inputs/common.ll similarity index 100% rename from test/tools/gold/Inputs/common.ll rename to test/tools/gold/X86/Inputs/common.ll diff --git a/test/tools/gold/Inputs/drop-debug.bc b/test/tools/gold/X86/Inputs/drop-debug.bc similarity index 100% rename from test/tools/gold/Inputs/drop-debug.bc rename to test/tools/gold/X86/Inputs/drop-debug.bc diff --git a/test/tools/gold/Inputs/invalid.bc b/test/tools/gold/X86/Inputs/invalid.bc similarity index 100% rename from test/tools/gold/Inputs/invalid.bc rename to test/tools/gold/X86/Inputs/invalid.bc diff --git a/test/tools/gold/Inputs/linker-script.export b/test/tools/gold/X86/Inputs/linker-script.export similarity index 100% rename from test/tools/gold/Inputs/linker-script.export rename to test/tools/gold/X86/Inputs/linker-script.export diff --git a/test/tools/gold/Inputs/linkonce-weak.ll b/test/tools/gold/X86/Inputs/linkonce-weak.ll similarity index 100% rename from test/tools/gold/Inputs/linkonce-weak.ll rename to test/tools/gold/X86/Inputs/linkonce-weak.ll diff --git a/test/tools/gold/Inputs/pr19901-1.ll b/test/tools/gold/X86/Inputs/pr19901-1.ll similarity index 100% rename from test/tools/gold/Inputs/pr19901-1.ll rename to test/tools/gold/X86/Inputs/pr19901-1.ll diff --git a/test/tools/gold/Inputs/weak.ll b/test/tools/gold/X86/Inputs/weak.ll similarity index 100% rename from test/tools/gold/Inputs/weak.ll rename to test/tools/gold/X86/Inputs/weak.ll diff --git a/test/tools/gold/alias.ll b/test/tools/gold/X86/alias.ll similarity index 100% rename from test/tools/gold/alias.ll rename to test/tools/gold/X86/alias.ll diff --git a/test/tools/gold/bad-alias.ll b/test/tools/gold/X86/bad-alias.ll similarity index 100% rename from test/tools/gold/bad-alias.ll rename to test/tools/gold/X86/bad-alias.ll diff --git a/test/tools/gold/bcsection.ll b/test/tools/gold/X86/bcsection.ll similarity index 100% rename from test/tools/gold/bcsection.ll rename to test/tools/gold/X86/bcsection.ll diff --git a/test/tools/gold/coff.ll b/test/tools/gold/X86/coff.ll similarity index 100% rename from test/tools/gold/coff.ll rename to test/tools/gold/X86/coff.ll diff --git a/test/tools/gold/comdat.ll b/test/tools/gold/X86/comdat.ll similarity index 100% rename from test/tools/gold/comdat.ll rename to test/tools/gold/X86/comdat.ll diff --git a/test/tools/gold/common.ll b/test/tools/gold/X86/common.ll similarity index 100% rename from test/tools/gold/common.ll rename to test/tools/gold/X86/common.ll diff --git a/test/tools/gold/drop-debug.ll b/test/tools/gold/X86/drop-debug.ll similarity index 100% rename from test/tools/gold/drop-debug.ll rename to test/tools/gold/X86/drop-debug.ll diff --git a/test/tools/gold/emit-llvm.ll b/test/tools/gold/X86/emit-llvm.ll similarity index 100% rename from test/tools/gold/emit-llvm.ll rename to test/tools/gold/X86/emit-llvm.ll diff --git a/test/tools/gold/invalid.ll b/test/tools/gold/X86/invalid.ll similarity index 100% rename from test/tools/gold/invalid.ll rename to test/tools/gold/X86/invalid.ll diff --git a/test/tools/gold/linker-script.ll b/test/tools/gold/X86/linker-script.ll similarity index 100% rename from test/tools/gold/linker-script.ll rename to test/tools/gold/X86/linker-script.ll diff --git a/test/tools/gold/linkonce-weak.ll b/test/tools/gold/X86/linkonce-weak.ll similarity index 100% rename from test/tools/gold/linkonce-weak.ll rename to test/tools/gold/X86/linkonce-weak.ll diff --git a/test/tools/gold/X86/lit.local.cfg b/test/tools/gold/X86/lit.local.cfg new file mode 100644 index 00000000000..ddcd48ca470 --- /dev/null +++ b/test/tools/gold/X86/lit.local.cfg @@ -0,0 +1,3 @@ +if (not 'ld_plugin' in config.available_features or + not 'X86' in config.root.targets): + config.unsupported = True diff --git a/test/tools/gold/no-map-whole-file.ll b/test/tools/gold/X86/no-map-whole-file.ll similarity index 100% rename from test/tools/gold/no-map-whole-file.ll rename to test/tools/gold/X86/no-map-whole-file.ll diff --git a/test/tools/gold/opt-level.ll b/test/tools/gold/X86/opt-level.ll similarity index 100% rename from test/tools/gold/opt-level.ll rename to test/tools/gold/X86/opt-level.ll diff --git a/test/tools/gold/pr19901.ll b/test/tools/gold/X86/pr19901.ll similarity index 100% rename from test/tools/gold/pr19901.ll rename to test/tools/gold/X86/pr19901.ll diff --git a/test/tools/gold/remarks.ll b/test/tools/gold/X86/remarks.ll similarity index 100% rename from test/tools/gold/remarks.ll rename to test/tools/gold/X86/remarks.ll diff --git a/test/tools/gold/slp-vectorize.ll b/test/tools/gold/X86/slp-vectorize.ll similarity index 100% rename from test/tools/gold/slp-vectorize.ll rename to test/tools/gold/X86/slp-vectorize.ll diff --git a/test/tools/gold/stats.ll b/test/tools/gold/X86/stats.ll similarity index 100% rename from test/tools/gold/stats.ll rename to test/tools/gold/X86/stats.ll diff --git a/test/tools/gold/vectorize.ll b/test/tools/gold/X86/vectorize.ll similarity index 100% rename from test/tools/gold/vectorize.ll rename to test/tools/gold/X86/vectorize.ll diff --git a/test/tools/gold/weak.ll b/test/tools/gold/X86/weak.ll similarity index 100% rename from test/tools/gold/weak.ll rename to test/tools/gold/X86/weak.ll -- 2.11.0