[PATCH] D145762: Reduce inlining that had larger binary size impact

Jacques Pienaar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 20:37:50 PST 2023


jpienaar created this revision.
jpienaar added a reviewer: mehdi_amini.
Herald added subscribers: Moerafaat, zero9178, bzcheeseman, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, thopre.
Herald added a reviewer: rriddle.
Herald added a project: All.
jpienaar requested review of this revision.
Herald added subscribers: llvm-commits, stephenneuendorffer, nicolasvasilache.
Herald added projects: MLIR, LLVM.

On a build with a large number of registered operations this resulted in
~3.4 MB reduction in binary in release mode.

These were found to reduce the size but this change is RFC (it contains changes
related to debugging and error path but not exclusively).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145762

Files:
  llvm/include/llvm/Support/TypeName.h
  mlir/include/mlir/IR/Builders.h
  mlir/include/mlir/IR/Diagnostics.h
  mlir/include/mlir/IR/OperationSupport.h
  mlir/include/mlir/IR/PatternMatch.h
  mlir/include/mlir/Support/TypeID.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145762.504016.patch
Type: text/x-patch
Size: 6994 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230310/bc186438/attachment.bin>


More information about the llvm-commits mailing list