Open dtcxzyw opened 5 months ago
@llvm/issue-subscribers-clang-codegen
Author: Yingwei Zheng (dtcxzyw)
I think it should be OK here as they share the same attributes, though if you combine it with always_inline attribute it explicitly fails with «error attribute 'target_clones' multiversioning cannot be combined with attribute 'always_inline'».
See the following case: https://godbolt.org/z/TqnvKcKWK
callee
should be inlined into caller because they share the same target_clone attribute.