[PATCH] D17946: Add a flag to the LLVMContext to disable name for Value other than GlobalValue
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 9 11:06:54 PST 2016
joker.eph updated this revision to Diff 50162.
joker.eph added a comment.
Update, trying to account for comments (hopefully I didn't forget any)
I propose to name these: discardValueNames() / setDiscardValueNames(), Justin what do you think?
Chandler: I tries to time on clang -O3 on a large .cpp file but it didn't have much impact (setValueName is a very small part in this case apparently)
http://reviews.llvm.org/D17946
Files:
include/llvm/IR/LLVMContext.h
lib/AsmParser/LLParser.cpp
lib/IR/LLVMContext.cpp
lib/IR/LLVMContextImpl.h
lib/IR/Value.cpp
lib/LTO/LTOCodeGenerator.cpp
test/Feature/strip_names.ll
tools/llc/llc.cpp
tools/opt/opt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17946.50162.patch
Type: text/x-patch
Size: 5814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160309/00f913d3/attachment.bin>
More information about the llvm-commits
mailing list