diff options
| author | Teresa Johnson <tejohnson@google.com> | 2016-04-23 05:15:59 +0000 |
|---|---|---|
| committer | Teresa Johnson <tejohnson@google.com> | 2016-04-23 05:15:59 +0000 |
| commit | 723cd05f8308ac81d63801663490b9b23069860e (patch) | |
| tree | 6b7efc791d204e83a0320c04d91611d79f463468 /llvm/test | |
| parent | 30805b24174f80419bac80c0d7b3a01203fc8b29 (diff) | |
| download | bcm5719-llvm-723cd05f8308ac81d63801663490b9b23069860e.tar.gz bcm5719-llvm-723cd05f8308ac81d63801663490b9b23069860e.zip | |
[gold] Gate value name discarding under save-temps
Summary:
This removes a couple of flags added to control this behavior, and
simply keeps all value names when save-temps is specified.
Reviewers: rafael
Subscribers: llvm-commits, pcc, davide
Differential Revision: http://reviews.llvm.org/D19384
llvm-svn: 267279
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/tools/gold/X86/comdat.ll | 5 | ||||
| -rw-r--r-- | llvm/test/tools/gold/X86/strip_names.ll | 6 | ||||
| -rw-r--r-- | llvm/test/tools/gold/X86/type-merge2.ll | 5 |
3 files changed, 6 insertions, 10 deletions
diff --git a/llvm/test/tools/gold/X86/comdat.ll b/llvm/test/tools/gold/X86/comdat.ll index c4c5df7aa36..b5a09d8329c 100644 --- a/llvm/test/tools/gold/X86/comdat.ll +++ b/llvm/test/tools/gold/X86/comdat.ll @@ -1,9 +1,8 @@ ; 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=no-discard-value-names \ -; RUN: -plugin-opt=emit-llvm -; RUN: llvm-dis %t3.o -o - | FileCheck %s +; RUN: -plugin-opt=save-temps +; RUN: llvm-dis %t3.o.bc -o - | FileCheck %s $c1 = comdat any diff --git a/llvm/test/tools/gold/X86/strip_names.ll b/llvm/test/tools/gold/X86/strip_names.ll index f1b2cff3aaf..495eac9d541 100644 --- a/llvm/test/tools/gold/X86/strip_names.ll +++ b/llvm/test/tools/gold/X86/strip_names.ll @@ -1,14 +1,12 @@ ; RUN: llvm-as %s -o %t.o ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ -; RUN: --plugin-opt=emit-llvm \ -; RUN: --plugin-opt=no-discard-value-names \ +; RUN: --plugin-opt=save-temps \ ; RUN: -shared %t.o -o %t2.o -; RUN: llvm-dis %t2.o -o - | FileCheck %s +; RUN: llvm-dis %t2.o.bc -o - | FileCheck %s ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ ; RUN: --plugin-opt=emit-llvm \ -; RUN: --plugin-opt=discard-value-names \ ; RUN: -shared %t.o -o %t2.o ; RUN: llvm-dis %t2.o -o - | FileCheck ---check-prefix=NONAME %s diff --git a/llvm/test/tools/gold/X86/type-merge2.ll b/llvm/test/tools/gold/X86/type-merge2.ll index 205dd752a01..449fd216503 100644 --- a/llvm/test/tools/gold/X86/type-merge2.ll +++ b/llvm/test/tools/gold/X86/type-merge2.ll @@ -1,10 +1,9 @@ ; RUN: llvm-as %s -o %t.o ; RUN: llvm-as %p/Inputs/type-merge2.ll -o %t2.o ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ -; RUN: --plugin-opt=emit-llvm \ -; RUN: --plugin-opt=no-discard-value-names \ +; RUN: --plugin-opt=save-temps \ ; RUN: -shared %t.o %t2.o -o %t3.o -; RUN: llvm-dis %t3.o -o - | FileCheck %s +; RUN: llvm-dis %t3.o.bc -o - | FileCheck %s %zed = type { i8 } define void @foo() { |

