You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments