]> granicus.if.org Git - llvm/commit
OptDiag: Summarize the instruction count in asm-printer
authorJustin Bogner <mail@justinbogner.com>
Fri, 24 Feb 2017 00:19:22 +0000 (00:19 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 24 Feb 2017 00:19:22 +0000 (00:19 +0000)
commit52ab9f0e652a18f58aa85743d2f8ed8afcf013f3
treeebaac7c63eafc96accc65957c8bd91d4c6c09bd3
parent04ea7c64e28a9086f99004c11d8ae535e1045168
OptDiag: Summarize the instruction count in asm-printer

Add an optimization remark to asm-printer that summarizes the number
of instructions emitted per function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296053 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp