[llvm] r246328 - Split the gold tests into X86 and PowerPC directories.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 13:33:57 PDT 2015


Author: rafael
Date: Fri Aug 28 15:33:56 2015
New Revision: 246328

URL: http://llvm.org/viewvc/llvm-project?rev=246328&view=rev
Log:
Split the gold tests into X86 and PowerPC directories.

Patch by Than McIntosh!

Added:
    llvm/trunk/test/tools/gold/PowerPC/
    llvm/trunk/test/tools/gold/PowerPC/lit.local.cfg
      - copied, changed from r246301, llvm/trunk/test/tools/gold/lit.local.cfg
    llvm/trunk/test/tools/gold/PowerPC/mtriple.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/mtriple.ll
    llvm/trunk/test/tools/gold/X86/
    llvm/trunk/test/tools/gold/X86/Inputs/
    llvm/trunk/test/tools/gold/X86/Inputs/alias-1.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/Inputs/alias-1.ll
    llvm/trunk/test/tools/gold/X86/Inputs/bcsection.s
      - copied, changed from r246301, llvm/trunk/test/tools/gold/Inputs/bcsection.s
    llvm/trunk/test/tools/gold/X86/Inputs/comdat.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/Inputs/comdat.ll
    llvm/trunk/test/tools/gold/X86/Inputs/common.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/Inputs/common.ll
    llvm/trunk/test/tools/gold/X86/Inputs/drop-debug.bc
      - copied, changed from r246301, llvm/trunk/test/tools/gold/Inputs/drop-debug.bc
    llvm/trunk/test/tools/gold/X86/Inputs/invalid.bc
      - copied, changed from r246301, llvm/trunk/test/tools/gold/Inputs/invalid.bc
    llvm/trunk/test/tools/gold/X86/Inputs/linker-script.export
      - copied, changed from r246301, llvm/trunk/test/tools/gold/Inputs/linker-script.export
    llvm/trunk/test/tools/gold/X86/Inputs/linkonce-weak.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/Inputs/linkonce-weak.ll
    llvm/trunk/test/tools/gold/X86/Inputs/pr19901-1.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/Inputs/pr19901-1.ll
    llvm/trunk/test/tools/gold/X86/Inputs/weak.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/Inputs/weak.ll
    llvm/trunk/test/tools/gold/X86/alias.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/alias.ll
    llvm/trunk/test/tools/gold/X86/bad-alias.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/bad-alias.ll
    llvm/trunk/test/tools/gold/X86/bcsection.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/bcsection.ll
    llvm/trunk/test/tools/gold/X86/coff.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/coff.ll
    llvm/trunk/test/tools/gold/X86/comdat.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/comdat.ll
    llvm/trunk/test/tools/gold/X86/common.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/common.ll
    llvm/trunk/test/tools/gold/X86/drop-debug.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/drop-debug.ll
    llvm/trunk/test/tools/gold/X86/emit-llvm.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/emit-llvm.ll
    llvm/trunk/test/tools/gold/X86/invalid.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/invalid.ll
    llvm/trunk/test/tools/gold/X86/linker-script.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/linker-script.ll
    llvm/trunk/test/tools/gold/X86/linkonce-weak.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/linkonce-weak.ll
    llvm/trunk/test/tools/gold/X86/lit.local.cfg
    llvm/trunk/test/tools/gold/X86/no-map-whole-file.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/no-map-whole-file.ll
    llvm/trunk/test/tools/gold/X86/opt-level.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/opt-level.ll
    llvm/trunk/test/tools/gold/X86/pr19901.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/pr19901.ll
    llvm/trunk/test/tools/gold/X86/remarks.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/remarks.ll
    llvm/trunk/test/tools/gold/X86/slp-vectorize.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/slp-vectorize.ll
    llvm/trunk/test/tools/gold/X86/stats.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/stats.ll
    llvm/trunk/test/tools/gold/X86/vectorize.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/vectorize.ll
    llvm/trunk/test/tools/gold/X86/weak.ll
      - copied, changed from r246301, llvm/trunk/test/tools/gold/weak.ll
Removed:
    llvm/trunk/test/tools/gold/Inputs/alias-1.ll
    llvm/trunk/test/tools/gold/Inputs/bcsection.s
    llvm/trunk/test/tools/gold/Inputs/comdat.ll
    llvm/trunk/test/tools/gold/Inputs/common.ll
    llvm/trunk/test/tools/gold/Inputs/drop-debug.bc
    llvm/trunk/test/tools/gold/Inputs/invalid.bc
    llvm/trunk/test/tools/gold/Inputs/linker-script.export
    llvm/trunk/test/tools/gold/Inputs/linkonce-weak.ll
    llvm/trunk/test/tools/gold/Inputs/pr19901-1.ll
    llvm/trunk/test/tools/gold/Inputs/weak.ll
    llvm/trunk/test/tools/gold/alias.ll
    llvm/trunk/test/tools/gold/bad-alias.ll
    llvm/trunk/test/tools/gold/bcsection.ll
    llvm/trunk/test/tools/gold/coff.ll
    llvm/trunk/test/tools/gold/comdat.ll
    llvm/trunk/test/tools/gold/common.ll
    llvm/trunk/test/tools/gold/drop-debug.ll
    llvm/trunk/test/tools/gold/emit-llvm.ll
    llvm/trunk/test/tools/gold/invalid.ll
    llvm/trunk/test/tools/gold/linker-script.ll
    llvm/trunk/test/tools/gold/linkonce-weak.ll
    llvm/trunk/test/tools/gold/lit.local.cfg
    llvm/trunk/test/tools/gold/mtriple.ll
    llvm/trunk/test/tools/gold/no-map-whole-file.ll
    llvm/trunk/test/tools/gold/opt-level.ll
    llvm/trunk/test/tools/gold/pr19901.ll
    llvm/trunk/test/tools/gold/remarks.ll
    llvm/trunk/test/tools/gold/slp-vectorize.ll
    llvm/trunk/test/tools/gold/stats.ll
    llvm/trunk/test/tools/gold/vectorize.ll
    llvm/trunk/test/tools/gold/weak.ll

Removed: llvm/trunk/test/tools/gold/Inputs/alias-1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/Inputs/alias-1.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/Inputs/alias-1.ll (original)
+++ llvm/trunk/test/tools/gold/Inputs/alias-1.ll (removed)
@@ -1 +0,0 @@
- at a = global i32 42

Removed: llvm/trunk/test/tools/gold/Inputs/bcsection.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/Inputs/bcsection.s?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/Inputs/bcsection.s (original)
+++ llvm/trunk/test/tools/gold/Inputs/bcsection.s (removed)
@@ -1,2 +0,0 @@
-.section .llvmbc
-.incbin "bcsection.bc"

Removed: llvm/trunk/test/tools/gold/Inputs/comdat.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/Inputs/comdat.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/Inputs/comdat.ll (original)
+++ llvm/trunk/test/tools/gold/Inputs/comdat.ll (removed)
@@ -1,25 +0,0 @@
-$c2 = comdat any
-$c1 = comdat any
-
-; This is only present in this file. The linker will keep $c1 from the first
-; file and this will be undefined.
- at will_be_undefined = global i32 1, comdat($c1)
-
- at v1 = weak_odr global i32 41, comdat($c2)
-define weak_odr protected i32 @f1(i8* %this) comdat($c2) {
-bb20:
-  store i8* %this, i8** null
-  br label %bb21
-bb21:
-  ret i32 41
-}
-
- at r21 = global i32* @v1
- at r22 = global i32(i8*)* @f1
-
- at a21 = alias i32* @v1
- at a22 = alias bitcast (i32* @v1 to i16*)
-
- at a23 = alias i32(i8*)* @f1
- at a24 = alias bitcast (i32(i8*)* @f1 to i16*)
- at a25 = alias i16* @a24

Removed: llvm/trunk/test/tools/gold/Inputs/common.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/Inputs/common.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/Inputs/common.ll (original)
+++ llvm/trunk/test/tools/gold/Inputs/common.ll (removed)
@@ -1 +0,0 @@
- at a = common global i16 0, align 4

Removed: llvm/trunk/test/tools/gold/Inputs/drop-debug.bc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/Inputs/drop-debug.bc?rev=246327&view=auto
==============================================================================
Binary files llvm/trunk/test/tools/gold/Inputs/drop-debug.bc (original) and llvm/trunk/test/tools/gold/Inputs/drop-debug.bc (removed) differ

Removed: llvm/trunk/test/tools/gold/Inputs/invalid.bc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/Inputs/invalid.bc?rev=246327&view=auto
==============================================================================
Binary files llvm/trunk/test/tools/gold/Inputs/invalid.bc (original) and llvm/trunk/test/tools/gold/Inputs/invalid.bc (removed) differ

Removed: llvm/trunk/test/tools/gold/Inputs/linker-script.export
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/Inputs/linker-script.export?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/Inputs/linker-script.export (original)
+++ llvm/trunk/test/tools/gold/Inputs/linker-script.export (removed)
@@ -1,5 +0,0 @@
-{
-  global:
-    f;
-  local: *;
-};

Removed: llvm/trunk/test/tools/gold/Inputs/linkonce-weak.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/Inputs/linkonce-weak.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/Inputs/linkonce-weak.ll (original)
+++ llvm/trunk/test/tools/gold/Inputs/linkonce-weak.ll (removed)
@@ -1,3 +0,0 @@
-define weak_odr void @f() {
-  ret void
-}

Removed: llvm/trunk/test/tools/gold/Inputs/pr19901-1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/Inputs/pr19901-1.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/Inputs/pr19901-1.ll (original)
+++ llvm/trunk/test/tools/gold/Inputs/pr19901-1.ll (removed)
@@ -1,4 +0,0 @@
-target triple = "x86_64-unknown-linux-gnu"
-define linkonce_odr hidden void @f() {
-  ret void
-}

Removed: llvm/trunk/test/tools/gold/Inputs/weak.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/Inputs/weak.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/Inputs/weak.ll (original)
+++ llvm/trunk/test/tools/gold/Inputs/weak.ll (removed)
@@ -1,2 +0,0 @@
- at a = weak global i32 41
- at c = global i32* @a

Copied: llvm/trunk/test/tools/gold/PowerPC/lit.local.cfg (from r246301, llvm/trunk/test/tools/gold/lit.local.cfg)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/PowerPC/lit.local.cfg?p2=llvm/trunk/test/tools/gold/PowerPC/lit.local.cfg&p1=llvm/trunk/test/tools/gold/lit.local.cfg&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/lit.local.cfg (original)
+++ llvm/trunk/test/tools/gold/PowerPC/lit.local.cfg Fri Aug 28 15:33:56 2015
@@ -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

Copied: llvm/trunk/test/tools/gold/PowerPC/mtriple.ll (from r246301, llvm/trunk/test/tools/gold/mtriple.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/PowerPC/mtriple.ll?p2=llvm/trunk/test/tools/gold/PowerPC/mtriple.ll&p1=llvm/trunk/test/tools/gold/mtriple.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/Inputs/alias-1.ll (from r246301, llvm/trunk/test/tools/gold/Inputs/alias-1.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/Inputs/alias-1.ll?p2=llvm/trunk/test/tools/gold/X86/Inputs/alias-1.ll&p1=llvm/trunk/test/tools/gold/Inputs/alias-1.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/Inputs/bcsection.s (from r246301, llvm/trunk/test/tools/gold/Inputs/bcsection.s)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/Inputs/bcsection.s?p2=llvm/trunk/test/tools/gold/X86/Inputs/bcsection.s&p1=llvm/trunk/test/tools/gold/Inputs/bcsection.s&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/Inputs/comdat.ll (from r246301, llvm/trunk/test/tools/gold/Inputs/comdat.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/Inputs/comdat.ll?p2=llvm/trunk/test/tools/gold/X86/Inputs/comdat.ll&p1=llvm/trunk/test/tools/gold/Inputs/comdat.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/Inputs/common.ll (from r246301, llvm/trunk/test/tools/gold/Inputs/common.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/Inputs/common.ll?p2=llvm/trunk/test/tools/gold/X86/Inputs/common.ll&p1=llvm/trunk/test/tools/gold/Inputs/common.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/Inputs/drop-debug.bc (from r246301, llvm/trunk/test/tools/gold/Inputs/drop-debug.bc)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/Inputs/drop-debug.bc?p2=llvm/trunk/test/tools/gold/X86/Inputs/drop-debug.bc&p1=llvm/trunk/test/tools/gold/Inputs/drop-debug.bc&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/Inputs/invalid.bc (from r246301, llvm/trunk/test/tools/gold/Inputs/invalid.bc)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/Inputs/invalid.bc?p2=llvm/trunk/test/tools/gold/X86/Inputs/invalid.bc&p1=llvm/trunk/test/tools/gold/Inputs/invalid.bc&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/Inputs/linker-script.export (from r246301, llvm/trunk/test/tools/gold/Inputs/linker-script.export)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/Inputs/linker-script.export?p2=llvm/trunk/test/tools/gold/X86/Inputs/linker-script.export&p1=llvm/trunk/test/tools/gold/Inputs/linker-script.export&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/Inputs/linkonce-weak.ll (from r246301, llvm/trunk/test/tools/gold/Inputs/linkonce-weak.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/Inputs/linkonce-weak.ll?p2=llvm/trunk/test/tools/gold/X86/Inputs/linkonce-weak.ll&p1=llvm/trunk/test/tools/gold/Inputs/linkonce-weak.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/Inputs/pr19901-1.ll (from r246301, llvm/trunk/test/tools/gold/Inputs/pr19901-1.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/Inputs/pr19901-1.ll?p2=llvm/trunk/test/tools/gold/X86/Inputs/pr19901-1.ll&p1=llvm/trunk/test/tools/gold/Inputs/pr19901-1.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/Inputs/weak.ll (from r246301, llvm/trunk/test/tools/gold/Inputs/weak.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/Inputs/weak.ll?p2=llvm/trunk/test/tools/gold/X86/Inputs/weak.ll&p1=llvm/trunk/test/tools/gold/Inputs/weak.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/alias.ll (from r246301, llvm/trunk/test/tools/gold/alias.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/alias.ll?p2=llvm/trunk/test/tools/gold/X86/alias.ll&p1=llvm/trunk/test/tools/gold/alias.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/bad-alias.ll (from r246301, llvm/trunk/test/tools/gold/bad-alias.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/bad-alias.ll?p2=llvm/trunk/test/tools/gold/X86/bad-alias.ll&p1=llvm/trunk/test/tools/gold/bad-alias.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/bcsection.ll (from r246301, llvm/trunk/test/tools/gold/bcsection.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/bcsection.ll?p2=llvm/trunk/test/tools/gold/X86/bcsection.ll&p1=llvm/trunk/test/tools/gold/bcsection.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/coff.ll (from r246301, llvm/trunk/test/tools/gold/coff.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/coff.ll?p2=llvm/trunk/test/tools/gold/X86/coff.ll&p1=llvm/trunk/test/tools/gold/coff.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/comdat.ll (from r246301, llvm/trunk/test/tools/gold/comdat.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/comdat.ll?p2=llvm/trunk/test/tools/gold/X86/comdat.ll&p1=llvm/trunk/test/tools/gold/comdat.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/common.ll (from r246301, llvm/trunk/test/tools/gold/common.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/common.ll?p2=llvm/trunk/test/tools/gold/X86/common.ll&p1=llvm/trunk/test/tools/gold/common.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/drop-debug.ll (from r246301, llvm/trunk/test/tools/gold/drop-debug.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/drop-debug.ll?p2=llvm/trunk/test/tools/gold/X86/drop-debug.ll&p1=llvm/trunk/test/tools/gold/drop-debug.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/emit-llvm.ll (from r246301, llvm/trunk/test/tools/gold/emit-llvm.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/emit-llvm.ll?p2=llvm/trunk/test/tools/gold/X86/emit-llvm.ll&p1=llvm/trunk/test/tools/gold/emit-llvm.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/invalid.ll (from r246301, llvm/trunk/test/tools/gold/invalid.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/invalid.ll?p2=llvm/trunk/test/tools/gold/X86/invalid.ll&p1=llvm/trunk/test/tools/gold/invalid.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/linker-script.ll (from r246301, llvm/trunk/test/tools/gold/linker-script.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/linker-script.ll?p2=llvm/trunk/test/tools/gold/X86/linker-script.ll&p1=llvm/trunk/test/tools/gold/linker-script.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/linkonce-weak.ll (from r246301, llvm/trunk/test/tools/gold/linkonce-weak.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/linkonce-weak.ll?p2=llvm/trunk/test/tools/gold/X86/linkonce-weak.ll&p1=llvm/trunk/test/tools/gold/linkonce-weak.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Added: llvm/trunk/test/tools/gold/X86/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/lit.local.cfg?rev=246328&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/X86/lit.local.cfg (added)
+++ llvm/trunk/test/tools/gold/X86/lit.local.cfg Fri Aug 28 15:33:56 2015
@@ -0,0 +1,3 @@
+if (not 'ld_plugin' in  config.available_features or
+    not 'X86' in config.root.targets):
+   config.unsupported = True

Copied: llvm/trunk/test/tools/gold/X86/no-map-whole-file.ll (from r246301, llvm/trunk/test/tools/gold/no-map-whole-file.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/no-map-whole-file.ll?p2=llvm/trunk/test/tools/gold/X86/no-map-whole-file.ll&p1=llvm/trunk/test/tools/gold/no-map-whole-file.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/opt-level.ll (from r246301, llvm/trunk/test/tools/gold/opt-level.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/opt-level.ll?p2=llvm/trunk/test/tools/gold/X86/opt-level.ll&p1=llvm/trunk/test/tools/gold/opt-level.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/pr19901.ll (from r246301, llvm/trunk/test/tools/gold/pr19901.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/pr19901.ll?p2=llvm/trunk/test/tools/gold/X86/pr19901.ll&p1=llvm/trunk/test/tools/gold/pr19901.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/remarks.ll (from r246301, llvm/trunk/test/tools/gold/remarks.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/remarks.ll?p2=llvm/trunk/test/tools/gold/X86/remarks.ll&p1=llvm/trunk/test/tools/gold/remarks.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/slp-vectorize.ll (from r246301, llvm/trunk/test/tools/gold/slp-vectorize.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/slp-vectorize.ll?p2=llvm/trunk/test/tools/gold/X86/slp-vectorize.ll&p1=llvm/trunk/test/tools/gold/slp-vectorize.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/stats.ll (from r246301, llvm/trunk/test/tools/gold/stats.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/stats.ll?p2=llvm/trunk/test/tools/gold/X86/stats.ll&p1=llvm/trunk/test/tools/gold/stats.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/vectorize.ll (from r246301, llvm/trunk/test/tools/gold/vectorize.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/vectorize.ll?p2=llvm/trunk/test/tools/gold/X86/vectorize.ll&p1=llvm/trunk/test/tools/gold/vectorize.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Copied: llvm/trunk/test/tools/gold/X86/weak.ll (from r246301, llvm/trunk/test/tools/gold/weak.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/weak.ll?p2=llvm/trunk/test/tools/gold/X86/weak.ll&p1=llvm/trunk/test/tools/gold/weak.ll&r1=246301&r2=246328&rev=246328&view=diff
==============================================================================
    (empty)

Removed: llvm/trunk/test/tools/gold/alias.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/alias.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/alias.ll (original)
+++ llvm/trunk/test/tools/gold/alias.ll (removed)
@@ -1,13 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-; RUN: llvm-as %p/Inputs/alias-1.ll -o %t2.o
-; RUN: %gold -shared -o %t3.o -plugin %llvmshlibdir/LLVMgold.so %t2.o %t.o \
-; RUN:  -plugin-opt=emit-llvm
-; RUN: llvm-dis < %t3.o -o - | FileCheck %s
-
-; CHECK-NOT: alias
-; CHECK: @a = global i32 42
-; CHECK-NEXT: @b = global i32 1
-; CHECK-NOT: alias
-
- at a = weak alias i32* @b
- at b = global i32 1

Removed: llvm/trunk/test/tools/gold/bad-alias.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/bad-alias.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/bad-alias.ll (original)
+++ llvm/trunk/test/tools/gold/bad-alias.ll (removed)
@@ -1,13 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-
-; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    --plugin-opt=emit-llvm \
-; RUN:    -shared %t.o -o %t2.o 2>&1 | FileCheck %s
-
-; CHECK: Unable to determine comdat of alias!
-
- at g1 = global i32 1
- at g2 = global i32 2
-
- at a = alias inttoptr(i32 sub (i32 ptrtoint (i32* @g1 to i32),
-                             i32 ptrtoint (i32* @g2 to i32)) to i32*)

Removed: llvm/trunk/test/tools/gold/bcsection.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/bcsection.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/bcsection.ll (original)
+++ llvm/trunk/test/tools/gold/bcsection.ll (removed)
@@ -1,11 +0,0 @@
-; RUN: llvm-as -o %T/bcsection.bc %s
-
-; RUN: llvm-mc -I=%T -filetype=obj -o %T/bcsection.bco %p/Inputs/bcsection.s
-; RUN: llvm-nm -no-llvm-bc %T/bcsection.bco | count 0
-; RUN: %gold -r -o %T/bcsection.o -plugin %llvmshlibdir/LLVMgold.so %T/bcsection.bco
-; RUN: llvm-nm -no-llvm-bc %T/bcsection.o | FileCheck %s
-
-; CHECK: main
-define i32 @main() {
-  ret i32 0
-}

Removed: llvm/trunk/test/tools/gold/coff.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/coff.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/coff.ll (original)
+++ llvm/trunk/test/tools/gold/coff.ll (removed)
@@ -1,22 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=emit-llvm \
-; RUN:    -shared %t.o -o %t2.o
-; RUN: llvm-dis %t2.o -o - | FileCheck %s
-
-
-target datalayout = "m:w"
-
-; CHECK: define void @f() {
-define void @f() {
-  ret void
-}
-
-; CHECK: define internal void @g() {
-define hidden void @g() {
-  ret void
-}
-
-; CHECK: define internal void @h() {
-define linkonce_odr void @h() {
-  ret void
-}

Removed: llvm/trunk/test/tools/gold/comdat.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/comdat.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/comdat.ll (original)
+++ llvm/trunk/test/tools/gold/comdat.ll (removed)
@@ -1,65 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-; RUN: llvm-as %p/Inputs/comdat.ll -o %t2.o
-; RUN: %gold -shared -o %t3.o -plugin %llvmshlibdir/LLVMgold.so %t.o %t2.o \
-; RUN:  -plugin-opt=emit-llvm
-; RUN: llvm-dis %t3.o -o - | FileCheck %s
-
-$c1 = comdat any
-
- at v1 = weak_odr global i32 42, comdat($c1)
-define weak_odr i32 @f1(i8*) comdat($c1) {
-bb10:
-  br label %bb11
-bb11:
-  ret i32 42
-}
-
- at r11 = global i32* @v1
- at r12 = global i32 (i8*)* @f1
-
- at a11 = alias i32* @v1
- at a12 = alias bitcast (i32* @v1 to i16*)
-
- at a13 = alias i32 (i8*)* @f1
- at a14 = alias bitcast (i32 (i8*)* @f1 to i16*)
- at a15 = alias i16* @a14
-
-; CHECK: $c1 = comdat any
-; CHECK: $c2 = comdat any
-
-; CHECK: @v1 = weak_odr global i32 42, comdat($c1)
-
-; CHECK: @r11 = global i32* @v1{{$}}
-; CHECK: @r12 = global i32 (i8*)* @f1{{$}}
-
-; CHECK: @r21 = global i32* @v1{{$}}
-; CHECK: @r22 = global i32 (i8*)* @f1{{$}}
-
-; CHECK: @v11 = internal global i32 41, comdat($c2)
-
-; CHECK: @a11 = alias i32* @v1{{$}}
-; CHECK: @a12 = alias bitcast (i32* @v1 to i16*)
-
-; CHECK: @a13 = alias i32 (i8*)* @f1{{$}}
-; CHECK: @a14 = alias bitcast (i32 (i8*)* @f1 to i16*)
-
-; CHECK: @a21 = alias i32* @v11{{$}}
-; CHECK: @a22 = alias bitcast (i32* @v11 to i16*)
-
-; CHECK: @a23 = alias i32 (i8*)* @f12{{$}}
-; CHECK: @a24 = alias bitcast (i32 (i8*)* @f12 to i16*)
-
-; CHECK:      define weak_odr protected i32 @f1(i8*) comdat($c1) {
-; CHECK-NEXT: bb10:
-; CHECK-NEXT:   br label %bb11{{$}}
-; CHECK:      bb11:
-; CHECK-NEXT:   ret i32 42
-; CHECK-NEXT: }
-
-; CHECK:      define internal i32 @f12(i8* %this) comdat($c2) {
-; CHECK-NEXT: bb20:
-; CHECK-NEXT:   store i8* %this, i8** null
-; CHECK-NEXT:   br label %bb21
-; CHECK:      bb21:
-; CHECK-NEXT:   ret i32 41
-; CHECK-NEXT: }

Removed: llvm/trunk/test/tools/gold/common.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/common.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/common.ll (original)
+++ llvm/trunk/test/tools/gold/common.ll (removed)
@@ -1,29 +0,0 @@
-; RUN: llvm-as %s -o %t1.o
-; RUN: llvm-as %p/Inputs/common.ll -o %t2.o
-
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    --plugin-opt=emit-llvm \
-; RUN:    -shared %t1.o %t2.o -o %t3.o
-; RUN: llvm-dis %t3.o -o - | FileCheck %s
-
- at a = common global i8 0, align 8
-
-; Shared library case, we merge @a as common and keep it for the symbol table.
-; CHECK: @a = common global i16 0, align 8
-
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    --plugin-opt=emit-llvm \
-; RUN:    %t1.o %t2.o -o %t3.o
-; RUN: llvm-dis %t3.o -o - | FileCheck --check-prefix=EXEC %s
-
-; All IR case, we internalize a after merging.
-; EXEC: @a = internal global i16 0, align 8
-
-; RUN: llc %p/Inputs/common.ll -o %t2.o -filetype=obj
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    --plugin-opt=emit-llvm \
-; RUN:    %t1.o %t2.o -o %t3.o
-; RUN: llvm-dis %t3.o -o - | FileCheck --check-prefix=MIXED %s
-
-; Mixed ELF and IR. We keep ours as common so the linker will finish the merge.
-; MIXED: @a = common global i8 0, align 8

Removed: llvm/trunk/test/tools/gold/drop-debug.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/drop-debug.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/drop-debug.ll (original)
+++ llvm/trunk/test/tools/gold/drop-debug.ll (removed)
@@ -1,8 +0,0 @@
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    --plugin-opt=emit-llvm -shared %p/Inputs/drop-debug.bc \
-; RUN:    -o t2.bc 2>&1 | FileCheck %s
-
-; drop-debug.bc was created from "void f(void) {}" with clang 3.5 and
-; -gline-tables-only, so it contains old debug info.
-
-; CHECK: warning: LLVM gold plugin: ignoring debug info with an invalid version (1) in {{.*}}/Inputs/drop-debug.bc

Removed: llvm/trunk/test/tools/gold/emit-llvm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/emit-llvm.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/emit-llvm.ll (original)
+++ llvm/trunk/test/tools/gold/emit-llvm.ll (removed)
@@ -1,92 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    --plugin-opt=emit-llvm \
-; RUN:    --plugin-opt=generate-api-file \
-; RUN:    -shared %t.o -o %t2.o
-; RUN: llvm-dis %t2.o -o - | FileCheck %s
-; RUN: FileCheck --check-prefix=API %s < %T/../apifile.txt
-
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:     -m elf_x86_64 --plugin-opt=save-temps \
-; RUN:    -shared %t.o -o %t3.o
-; RUN: llvm-dis %t3.o.bc -o - | FileCheck %s
-; RUN: llvm-dis %t3.o.opt.bc -o - | FileCheck --check-prefix=OPT %s
-; RUN: llvm-nm %t3.o.o | FileCheck --check-prefix=NM %s
-
-; RUN: rm -f %t4.o
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:     -m elf_x86_64 --plugin-opt=disable-output \
-; RUN:    -shared %t.o -o %t4.o
-; RUN: not test -a %t4.o
-
-; NM: T f3
-
-target triple = "x86_64-unknown-linux-gnu"
-
- at g7 = extern_weak global i32
-; CHECK-DAG: @g7 = extern_weak global i32
-
- at g8 = external global i32
-
-; CHECK: define internal void @f1()
-; OPT-NOT: @f1
-define hidden void @f1() {
-  ret void
-}
-
-; CHECK: define hidden void @f2()
-; OPT: define hidden void @f2()
-define hidden void @f2() {
-  ret void
-}
-
- at llvm.used = appending global [1 x i8*] [ i8* bitcast (void ()* @f2 to i8*)]
-
-; CHECK: define void @f3()
-; OPT: define void @f3()
-define void @f3() {
-  call void @f4()
-  ret void
-}
-
-; CHECK: define internal void @f4()
-; OPT-NOT: @f4
-define linkonce_odr void @f4() {
-  ret void
-}
-
-; CHECK: define linkonce_odr void @f5()
-; OPT: define linkonce_odr void @f5()
-define linkonce_odr void @f5() {
-  ret void
-}
- at g5 = global void()* @f5
-
-; CHECK: define internal void @f6() unnamed_addr
-; OPT: define internal void @f6() unnamed_addr
-define linkonce_odr void @f6() unnamed_addr {
-  ret void
-}
- at g6 = global void()* @f6
-
-define i32* @f7() {
-  ret i32* @g7
-}
-
-define i32* @f8() {
-  ret i32* @g8
-}
-
-; API: f1 PREVAILING_DEF_IRONLY
-; API: f2 PREVAILING_DEF_IRONLY
-; API: f3 PREVAILING_DEF_IRONLY_EXP
-; API: f4 PREVAILING_DEF_IRONLY_EXP
-; API: f5 PREVAILING_DEF_IRONLY_EXP
-; API: f6 PREVAILING_DEF_IRONLY_EXP
-; API: f7 PREVAILING_DEF_IRONLY_EXP
-; API: f8 PREVAILING_DEF_IRONLY_EXP
-; API: g7 UNDEF
-; API: g8 UNDEF
-; API: g5 PREVAILING_DEF_IRONLY_EXP
-; API: g6 PREVAILING_DEF_IRONLY_EXP

Removed: llvm/trunk/test/tools/gold/invalid.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/invalid.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/invalid.ll (original)
+++ llvm/trunk/test/tools/gold/invalid.ll (removed)
@@ -1,7 +0,0 @@
-; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    %p/Inputs/invalid.bc -o %t2 2>&1 | FileCheck %s
-
-; test that only one error gets printed
-
-; CHECK: error: LLVM gold plugin has failed to create LTO module: Malformed block
-; CHECK-NOT: error

Removed: llvm/trunk/test/tools/gold/linker-script.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/linker-script.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/linker-script.ll (original)
+++ llvm/trunk/test/tools/gold/linker-script.ll (removed)
@@ -1,17 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    --plugin-opt=emit-llvm \
-; RUN:    -shared %t.o -o %t2.o \
-; RUN:    -version-script=%p/Inputs/linker-script.export
-; RUN: llvm-dis %t2.o -o - | FileCheck %s
-
-; CHECK: define void @f()
-define void @f() {
-  ret void
-}
-
-; CHECK: define internal void @g()
-define void @g() {
-  ret void
-}

Removed: llvm/trunk/test/tools/gold/linkonce-weak.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/linkonce-weak.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/linkonce-weak.ll (original)
+++ llvm/trunk/test/tools/gold/linkonce-weak.ll (removed)
@@ -1,19 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-; RUN: llvm-as %p/Inputs/linkonce-weak.ll -o %t2.o
-
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    --plugin-opt=emit-llvm \
-; RUN:    -shared %t.o %t2.o -o %t3.o
-; RUN: llvm-dis %t3.o -o - | FileCheck %s
-
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    --plugin-opt=emit-llvm \
-; RUN:    -shared %t2.o %t.o -o %t3.o
-; RUN: llvm-dis %t3.o -o - | FileCheck %s
-
-define linkonce_odr void @f() {
-  ret void
-}
-
-; Test that we get a weak_odr regardless of the order of the files
-; CHECK: define weak_odr void @f() {

Removed: llvm/trunk/test/tools/gold/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/lit.local.cfg?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/lit.local.cfg (original)
+++ llvm/trunk/test/tools/gold/lit.local.cfg (removed)
@@ -1,4 +0,0 @@
-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

Removed: llvm/trunk/test/tools/gold/mtriple.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/mtriple.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/mtriple.ll (original)
+++ llvm/trunk/test/tools/gold/mtriple.ll (removed)
@@ -1,15 +0,0 @@
-; REQUIRES: ld_emu_elf32ppc
-
-; RUN: llvm-as %s -o %t.o
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -m elf32ppc \
-; RUN:    -plugin-opt=mtriple=powerpc-linux-gnu \
-; RUN:    -plugin-opt=obj-path=%t3.o \
-; RUN:    -shared %t.o -o %t2
-; RUN: llvm-readobj --file-headers %t2 | FileCheck  --check-prefix=DSO %s
-; RUN: llvm-readobj --file-headers %t3.o | FileCheck --check-prefix=REL %s
-
-; REL:       Type: Relocatable
-; REL-NEXT:  Machine: EM_PPC
-
-; DSO:       Type: SharedObject
-; DSO-NEXT:  Machine: EM_PPC

Removed: llvm/trunk/test/tools/gold/no-map-whole-file.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/no-map-whole-file.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/no-map-whole-file.ll (original)
+++ llvm/trunk/test/tools/gold/no-map-whole-file.ll (removed)
@@ -1,9 +0,0 @@
-; RUN: llvm-as -o %t.bc %s
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=emit-llvm \
-; RUN:    --no-map-whole-files -r -o %t2.bc %t.bc
-; RUN: llvm-dis < %t2.bc -o - | FileCheck %s
-
-; CHECK: main
-define i32 @main() {
-  ret i32 0
-}

Removed: llvm/trunk/test/tools/gold/opt-level.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/opt-level.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/opt-level.ll (original)
+++ llvm/trunk/test/tools/gold/opt-level.ll (removed)
@@ -1,50 +0,0 @@
-; RUN: llvm-as -o %t.bc %s
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=save-temps \
-; RUN:    -plugin-opt=O0 -r -o %t.o %t.bc
-; RUN: llvm-dis < %t.o.opt.bc -o - | FileCheck --check-prefix=CHECK-O0 %s
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=save-temps \
-; RUN:    -plugin-opt=O1 -r -o %t.o %t.bc
-; RUN: llvm-dis < %t.o.opt.bc -o - | FileCheck --check-prefix=CHECK-O1 %s
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=save-temps \
-; RUN:    -plugin-opt=O2 -r -o %t.o %t.bc
-; RUN: llvm-dis < %t.o.opt.bc -o - | FileCheck --check-prefix=CHECK-O2 %s
-
-; CHECK-O0: define internal void @foo(
-; CHECK-O1: define internal void @foo(
-; CHECK-O2-NOT: define internal void @foo(
-define internal void @foo() {
-  ret void
-}
-
-; CHECK-O0: define internal i32 @bar(
-; CHECK-O1: define internal i32 @bar(
-define internal i32 @bar(i1 %p) {
-  br i1 %p, label %t, label %f
-
-t:
-  br label %end
-
-f:
-  br label %end
-
-end:
-  ; CHECK-O0: phi
-  ; CHECK-O1: select
-  %r = phi i32 [ 1, %t ], [ 2, %f ]
-  ret i32 %r
-}
-
-define void @baz() {
-  call void @foo()
-  %c = call i32 @bar(i1 true)
-  ret void
-}
-
- at a = constant i32 1
-
-!0 = !{!"bitset1", i32* @a, i32 0}
-
-; CHECK-O0-NOT: llvm.bitsets
-; CHECK-O1-NOT: llvm.bitsets
-; CHECK-O2-NOT: llvm.bitsets
-!llvm.bitsets = !{ !0 }

Removed: llvm/trunk/test/tools/gold/pr19901.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/pr19901.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/pr19901.ll (original)
+++ llvm/trunk/test/tools/gold/pr19901.ll (removed)
@@ -1,24 +0,0 @@
-; RUN: llc %s -o %t.o -filetype=obj -relocation-model=pic
-; RUN: llvm-as %p/Inputs/pr19901-1.ll -o %t2.o
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:     -shared -m elf_x86_64 -o %t.so %t2.o %t.o
-; RUN: llvm-readobj -t %t.so | FileCheck %s
-
-; CHECK:       Symbol {
-; CHECK:         Name: f
-; CHECK-NEXT:    Value:
-; CHECK-NEXT:    Size:
-; CHECK-NEXT:    Binding: Local
-; CHECK-NEXT:    Type: Function
-; CHECK-NEXT:    Other: {{2|0}}
-; CHECK-NEXT:    Section: .text
-; CHECK-NEXT:  }
-
-target triple = "x86_64-unknown-linux-gnu"
-define i32 @g() {
-  call void @f()
-  ret i32 0
-}
-define linkonce_odr hidden void @f() {
-  ret void
-}

Removed: llvm/trunk/test/tools/gold/remarks.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/remarks.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/remarks.ll (original)
+++ llvm/trunk/test/tools/gold/remarks.ll (removed)
@@ -1,22 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-
-; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    -plugin-opt=-pass-remarks=inline %t.o -o %t2.o 2>&1 | FileCheck %s
-
-; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:   %t.o -o %t2.o 2>&1 | FileCheck -allow-empty --check-prefix=NO-REMARK %s
-
-
-; CHECK: f inlined into _start
-; NO-REMARK-NOT: inlined
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
-
-define i32 @f() {
-  ret i32 0
-}
-
-define i32 @_start() {
-  %call = call i32 @f()
-  ret i32 %call
-}

Removed: llvm/trunk/test/tools/gold/slp-vectorize.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/slp-vectorize.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/slp-vectorize.ll (original)
+++ llvm/trunk/test/tools/gold/slp-vectorize.ll (removed)
@@ -1,30 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-
-; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    --plugin-opt=save-temps \
-; RUN:    -shared %t.o -o %t2.o
-; RUN: llvm-dis %t2.o.opt.bc -o - | FileCheck %s
-
-; test that the vectorizer is run.
-; CHECK: fadd <4 x float>
-
-target triple = "x86_64-unknown-linux-gnu"
-
-define void @f(float* nocapture %x) {
-  %tmp = load float, float* %x, align 4
-  %add = fadd float %tmp, 1.000000e+00
-  store float %add, float* %x, align 4
-  %arrayidx1 = getelementptr inbounds float, float* %x, i64 1
-  %tmp1 = load float, float* %arrayidx1, align 4
-  %add2 = fadd float %tmp1, 1.000000e+00
-  store float %add2, float* %arrayidx1, align 4
-  %arrayidx3 = getelementptr inbounds float, float* %x, i64 2
-  %tmp2 = load float, float* %arrayidx3, align 4
-  %add4 = fadd float %tmp2, 1.000000e+00
-  store float %add4, float* %arrayidx3, align 4
-  %arrayidx5 = getelementptr inbounds float, float* %x, i64 3
-  %tmp3 = load float, float* %arrayidx5, align 4
-  %add6 = fadd float %tmp3, 1.000000e+00
-  store float %add6, float* %arrayidx5, align 4
-  ret void
-}

Removed: llvm/trunk/test/tools/gold/stats.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/stats.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/stats.ll (original)
+++ llvm/trunk/test/tools/gold/stats.ll (removed)
@@ -1,7 +0,0 @@
-; REQUIRES: asserts
-
-; RUN: llvm-as %s -o %t.o
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so  -shared \
-; RUN:    -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s
-
-; CHECK: Statistics Collected

Removed: llvm/trunk/test/tools/gold/vectorize.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/vectorize.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/vectorize.ll (original)
+++ llvm/trunk/test/tools/gold/vectorize.ll (removed)
@@ -1,30 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-
-; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    --plugin-opt=save-temps \
-; RUN:    -shared %t.o -o %t2.o
-; RUN: llvm-dis %t2.o.opt.bc -o - | FileCheck %s
-
-; test that the vectorizer is run.
-; CHECK: fadd <4 x float>
-
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
-
-define void @f(float* nocapture %x, i64 %n) {
-bb:
-  br label %bb1
-
-bb1:
-  %i.0 = phi i64 [ 0, %bb ], [ %tmp4, %bb1 ]
-  %tmp = getelementptr inbounds float, float* %x, i64 %i.0
-  %tmp2 = load float, float* %tmp, align 4
-  %tmp3 = fadd float %tmp2, 1.000000e+00
-  store float %tmp3, float* %tmp, align 4
-  %tmp4 = add nsw i64 %i.0, 1
-  %tmp5 = icmp slt i64 %tmp4, %n
-  br i1 %tmp5, label %bb1, label %bb6
-
-bb6:
-  ret void
-}

Removed: llvm/trunk/test/tools/gold/weak.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/weak.ll?rev=246327&view=auto
==============================================================================
--- llvm/trunk/test/tools/gold/weak.ll (original)
+++ llvm/trunk/test/tools/gold/weak.ll (removed)
@@ -1,16 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-; RUN: llvm-as %p/Inputs/weak.ll -o %t2.o
-
-; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
-; RUN:    --plugin-opt=emit-llvm \
-; RUN:    -shared %t.o %t2.o -o %t3.o
-; RUN: llvm-dis %t3.o -o - | FileCheck %s
-
- at a = weak global i32 42
- at b = global i32* @a
-
-; Test that @b and @c end up pointing to the same variable.
-
-; CHECK: @a = weak global i32 42
-; CHECK: @b = global i32* @a{{$}}
-; CHECK: @c = global i32* @a{{$}}




More information about the llvm-commits mailing list