Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the FMV rules so target_clones defaults must be explicitly stated
This is needed to disambiguate cases such as: ```c++ // Translation unit 1 __attribute__ ((target_clone("dotprod, sve"))) int foo(); int foo() { return 1; } ``` ```c // Translation unit 2 __attribute__ ((target_clone("dotprod, sve"))) int foo() { return 2; } ``` Where with the previous specification two dispatchers would be created and two defaults with different contents. This is fixed by requiring default versions in target_clones to be explicitly stated. This makes it bery simple to determine where the dispatcher should be created accross translation units.
- Loading branch information