[PATCH] D46699: [ThinLTO] Print module summary index to assembly
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 15 07:41:23 PDT 2018
tejohnson updated this revision to Diff 146828.
tejohnson added a comment.
A few changes motivated when writing the AsmParser support:
- Use "external" instead of "extern" as linkage, so that existing
linkage type parser can be utilized
- Quote string values (e.g. names and paths)
- Emit only one of edge hotness and relative branch freq (to be
consistent with bitcode writer), and only write them if they have a
specified value.
Repository:
rL LLVM
https://reviews.llvm.org/D46699
Files:
include/llvm/IR/ModuleSummaryIndex.h
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLLexer.h
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
lib/AsmParser/LLToken.h
lib/IR/AsmWriter.cpp
test/Bitcode/thinlto-alias.ll
test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll
test/Bitcode/thinlto-function-summary-callgraph-relbf.ll
test/Bitcode/thinlto-function-summary-refgraph.ll
test/Bitcode/thinlto-type-tests.ll
test/Bitcode/thinlto-type-vcalls.ll
tools/llvm-dis/llvm-dis.cpp
tools/llvm-lto/llvm-lto.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46699.146828.patch
Type: text/x-patch
Size: 51391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180515/021eaff9/attachment.bin>
More information about the llvm-commits
mailing list