Issue 203760
Summary Changes in ABI make SIMD registers in struct suboptimal
Labels
Assignees
Reporter jfalcou
    There's some regression on clang trunk w/r to passing __m256 (and above) values as function parameters.

This is an exampelusing the EVE library:
https://godbolt.org/z/f14n6bf4M

Clang++ 20 is good but trunk without -fclang-abi-compat=20 is not.

This is the effect of https://github.com/llvm/llvm-project/pull/120670/changes
This is very unfortunate as it turns EVERY EXISTING C++ struct wrapping SIMD register types into an unusable mush.

In fact, it also affects std::simd which maybe of some significance
https://godbolt.org/z/9xGhYv18P
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to