[PATCH] D126340: [clang][AIX] add option -mdefault-visibility-export-mapping

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 2 01:01:12 PDT 2022


nikic added a comment.

It looks like this causes a major compile-time regression in the clang frontend: http://llvm-compile-time-tracker.com/compare.php?from=6232a8f3d61e5856c17e7b314385e9ea8068cdc1&to=8c8a2679a20f621994fa904bcfc68775e7345edc&stat=instructions For example, tramp3d-v4 is up 5% in `-O0` builds.

Not familiar with this area, but my first guess would be that getLinkageAndVisibility() is actually expensive and you're introducing a ton of calls to it?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126340/new/

https://reviews.llvm.org/D126340



More information about the cfe-commits mailing list