Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cconv_more.t fails on x86 with N=10 #576

Open
elliottslaughter opened this issue Jun 25, 2022 · 0 comments
Open

cconv_more.t fails on x86 with N=10 #576

elliottslaughter opened this issue Jun 25, 2022 · 0 comments

Comments

@elliottslaughter
Copy link
Member

elliottslaughter commented Jun 25, 2022

The modified cconv_more.t from #575 fails on x86 with N = 10.

Relevant parts of the test output:

define float @cff10(<2 x float> %x1.coerce, <2 x float> %x2.coerce, <2 x float> %x3.coerce, <2 x float> %x4.coerce, <2 x float> %x5.coerce, <2 x float> %x6.coerce, <2 x float> %x7.coerce, <2 x float> %x8.coerce, %struct.float_2* noundef byval(%struct.float_2) align 8 %x9, %struct.float_2* noundef byval(%struct.float_2) align 8 %x10) #0 {
...

define internal float @"$tff10"(<2 x float> %0, <2 x float> %1, <2 x float> %2, <2 x float> %3, <2 x float> %4, <2 x float> %5, <2 x float> %6, <2 x float> %7, <2 x float> %8, <2 x float> %9) #2 {
...

tests/cconv_more.t:593: scalar test failed for N=10, {float_2,float_2,float_2,float_2,float_2,float_2,float_2,float_2,float_2,float_2} -> float: error code 220

It seems that Clang switches to byval after 8 arguments, and Terra fails to do so.

Tested on macOS 12.4 with LLVM 14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant