| Issue |
109526
|
| Summary |
[sve][abi] gcc and llvm don't have the same call conventions
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
vfdff
|
* test: https://gcc.godbolt.org/z/5o8YofrrG
```
SimdFloat foo (SimdFloat a , SimdFloat b, const float* m, const float* n) {
SimdFloat mc = simdLoadFloat(m);
SimdFloat nc = simdLoadFloat(n);
return a + b + nc + mc;
}
```
* For above test case, the gcc use register z0 and z1 to pass the argument a and b, while llvm pass them with memory
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs