summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2018-01-25 08:35:52 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2018-01-25 08:35:52 +0000
commit41e45955bb32d02bce91b1cd2dcf3f0ebedcd062 (patch)
tree59c369947f96f446081ad94f736cbf8b231cecc5 /llvm/test/Linker
parentb369cdbaadb9ed3bc92d51f4361233d065ecdd4b (diff)
downloadbcm5719-llvm-41e45955bb32d02bce91b1cd2dcf3f0ebedcd062.tar.gz
bcm5719-llvm-41e45955bb32d02bce91b1cd2dcf3f0ebedcd062.zip
[IRMover] Add comment and fix test case
llvm-svn: 323407
Diffstat (limited to 'llvm/test/Linker')
-rw-r--r--llvm/test/Linker/type-unique-dst-types.ll6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/test/Linker/type-unique-dst-types.ll b/llvm/test/Linker/type-unique-dst-types.ll
index 1adad49de91..cfcad130e6a 100644
--- a/llvm/test/Linker/type-unique-dst-types.ll
+++ b/llvm/test/Linker/type-unique-dst-types.ll
@@ -1,6 +1,8 @@
; RUN: llvm-link %p/type-unique-dst-types.ll \
; RUN: %p/Inputs/type-unique-dst-types2.ll \
-; RUN: %p/Inputs/type-unique-dst-types3.ll -S -o - | FileCheck %s
+; RUN: %p/Inputs/type-unique-dst-types3.ll -S -o %t1.ll
+; RUN: cat %t1.ll | FileCheck %s
+; RUN: cat %t1.ll | FileCheck --check-prefix=RENAMED %s
; This tests the importance of keeping track of which types are part of the
; destination module.
@@ -14,6 +16,8 @@
; CHECK: @g1 = external global %A
; CHECK: @g2 = external global %A
+; RENAMED-NOT: A.11
+
%A = type { %B }
%B = type { i8 }
@g3 = external global %A
OpenPOWER on IntegriCloud