DanielKristofKiss wrote:
I'd like to support FMV in existing codebases as lean as possible, so the
default version attribute would be optional to write as not all
version/toolchain will support it. smallest possible codebase change to
introduce multi versioning:
```c
int foo(void);
+ #ifdef __HAVE_FUNCTION_MULTI_VERSIONING
+ int __attribute__((target_version("feature"))) foo(void);
+ #endif
```
https://github.com/llvm/llvm-project/pull/84405
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits