Move summary creation out of llvm-as into opt

Summary:
Let keep llvm-as "dumb": it converts textual IR to bitcode. This
commit removes the dependency from llvm-as to libLLVMAnalysis.
We'll add back summary in llvm-as if we get to a textual
representation for it at some point. In the meantime, opt seems
like a better place for that.

Reviewers: tejohnson

Subscribers: joker.eph, llvm-commits

Differential Revision: http://reviews.llvm.org/D19032

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 266131
This commit is contained in:
Mehdi Amini
2016-04-12 21:35:18 +00:00
parent 32ad24d4ef
commit 68da426eea
26 changed files with 55 additions and 59 deletions

View File

@@ -1,5 +1,5 @@
; Test to check both the callgraph and refgraph in summary
; RUN: llvm-as -module-summary %s -o %t.o
; RUN: opt -module-summary %s -o %t.o
; RUN: llvm-bcanalyzer -dump %t.o | FileCheck %s
; See if the calls and other references are recorded properly using the