[PATCH] D104378: [FuncSpec] Don't specialize functions with attribute NoDuplicate.

Chuanqi Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 16 19:01:20 PDT 2021


ChuanqiXu added a comment.

It makes sense to me. If a function is marked with `NoDuplicate`, we shouldn't clone it. Everything is fine.
But I want to ask, in what situations, generally a function would be marked with `NoDuplicate` attribute? I didn't find it in docs or codes.


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

https://reviews.llvm.org/D104378



More information about the llvm-commits mailing list