[llvm] r220953 - Move an input file to Inputs instead of using RUN: true.

Rafael Espindola rafael.espindola at gmail.com
Thu Oct 30 22:54:15 PDT 2014


Author: rafael
Date: Fri Oct 31 00:54:15 2014
New Revision: 220953

URL: http://llvm.org/viewvc/llvm-project?rev=220953&view=rev
Log:
Move an input file to Inputs instead of using RUN: true.

Added:
    llvm/trunk/test/Linker/Inputs/visibility.ll
      - copied, changed from r220952, llvm/trunk/test/Linker/visibility2.ll
    llvm/trunk/test/Linker/visibility.ll
      - copied, changed from r220952, llvm/trunk/test/Linker/visibility1.ll
Removed:
    llvm/trunk/test/Linker/visibility1.ll
    llvm/trunk/test/Linker/visibility2.ll

Copied: llvm/trunk/test/Linker/Inputs/visibility.ll (from r220952, llvm/trunk/test/Linker/visibility2.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/Inputs/visibility.ll?p2=llvm/trunk/test/Linker/Inputs/visibility.ll&p1=llvm/trunk/test/Linker/visibility2.ll&r1=220952&r2=220953&rev=220953&view=diff
==============================================================================
--- llvm/trunk/test/Linker/visibility2.ll (original)
+++ llvm/trunk/test/Linker/Inputs/visibility.ll Fri Oct 31 00:54:15 2014
@@ -1,7 +1,3 @@
-; This file is used by visibility1.ll, so it doesn't actually do anything itself
-;
-; RUN: true
-
 ; Variables
 @v1 = weak hidden global i32 0
 @v2 = weak protected global i32 0

Copied: llvm/trunk/test/Linker/visibility.ll (from r220952, llvm/trunk/test/Linker/visibility1.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/visibility.ll?p2=llvm/trunk/test/Linker/visibility.ll&p1=llvm/trunk/test/Linker/visibility1.ll&r1=220952&r2=220953&rev=220953&view=diff
==============================================================================
--- llvm/trunk/test/Linker/visibility1.ll (original)
+++ llvm/trunk/test/Linker/visibility.ll Fri Oct 31 00:54:15 2014
@@ -1,7 +1,7 @@
-; RUN: llvm-link %s %p/visibility2.ll -S | FileCheck %s
-; RUN: llvm-link %p/visibility2.ll %s -S | FileCheck %s
+; RUN: llvm-link %s %p/Inputs/visibility.ll -S | FileCheck %s
+; RUN: llvm-link %p/Inputs/visibility.ll %s -S | FileCheck %s
 
-; The values in this file are strong, the ones in visibility2.ll are weak,
+; The values in this file are strong, the ones in Inputs/visibility.ll are weak,
 ; but we should still get the visibility from them.
 
 ; Variables

Removed: llvm/trunk/test/Linker/visibility1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/visibility1.ll?rev=220952&view=auto
==============================================================================
--- llvm/trunk/test/Linker/visibility1.ll (original)
+++ llvm/trunk/test/Linker/visibility1.ll (removed)
@@ -1,46 +0,0 @@
-; RUN: llvm-link %s %p/visibility2.ll -S | FileCheck %s
-; RUN: llvm-link %p/visibility2.ll %s -S | FileCheck %s
-
-; The values in this file are strong, the ones in visibility2.ll are weak,
-; but we should still get the visibility from them.
-
-; Variables
-; CHECK: @v1 = hidden global i32 0
- at v1 = global i32 0
-
-; CHECK: @v2 = protected  global i32 0
- at v2 = global i32 0
-
-; CHECK: @v3 = hidden global i32 0
- at v3 = protected global i32 0
-
-
-; Aliases
-; CHECK: @a1 = hidden alias i32* @v1
- at a1 = alias i32* @v1
-
-; CHECK: @a2 = protected alias i32* @v2
- at a2 = alias i32* @v2
-
-; CHECK: @a3 = hidden alias i32* @v3
- at a3 = protected alias i32* @v3
-
-
-; Functions
-; CHECK: define hidden void @f1()
-define void @f1()  {
-entry:
-  ret void
-}
-
-; CHECK: define protected void @f2()
-define void @f2()  {
-entry:
-  ret void
-}
-
-; CHECK: define hidden void @f3()
-define protected void @f3()  {
-entry:
-  ret void
-}

Removed: llvm/trunk/test/Linker/visibility2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/visibility2.ll?rev=220952&view=auto
==============================================================================
--- llvm/trunk/test/Linker/visibility2.ll (original)
+++ llvm/trunk/test/Linker/visibility2.ll (removed)
@@ -1,27 +0,0 @@
-; This file is used by visibility1.ll, so it doesn't actually do anything itself
-;
-; RUN: true
-
-; Variables
- at v1 = weak hidden global i32 0
- at v2 = weak protected global i32 0
- at v3 = weak hidden global i32 0
-
-; Aliases
- at a1 = weak hidden alias i32* @v1
- at a2 = weak protected alias i32* @v2
- at a3 = weak hidden alias i32* @v3
-
-; Functions
-define weak hidden void @f1() {
-entry:
-  ret void
-}
-define weak protected void @f2() {
-entry:
-  ret void
-}
-define weak hidden void @f3() {
-entry:
-  ret void
-}





More information about the llvm-commits mailing list