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

gollvm: Attribute 'byval' type does not match parameter, in function internal_1cpu.Name #43871

Closed
advancedwebdeveloper opened this issue Jan 23, 2021 · 5 comments

Comments

@advancedwebdeveloper
Copy link

Hello again.

Another bug, which I was able to track:

/home/runner/work/clang_test_cpu_features/clang_test_cpu_features/clang_test_cpu_features/build_release/tools/gollvm/libgo/cpugen.go
Attribute 'byval' type does not match parameter!
call void @internal_1cpu.appendBytes({ i8*, i64, i64 }* sret(bfloat) "go_sret" %sret.actual.6, i8* nest undef, { i8*, i64, i64 }* byval(bfloat) %data, { i32*, i64, i64 }* byval(bfloat) %tmp.0), !dbg !465
Attribute 'byval' type does not match parameter!
call void @internal_1cpu.appendBytes({ i8*, i64, i64 }* sret(bfloat) "go_sret" %sret.actual.6, i8* nest undef, { i8*, i64, i64 }* byval(bfloat) %data, { i32*, i64, i64 }* byval(bfloat) %tmp.0), !dbg !465
Attribute 'byval' type does not match parameter!
call void @internal_1cpu.appendBytes({ i8*, i64, i64 }* sret(bfloat) "go_sret" %sret.actual.8, i8* nest undef, { i8*, i64, i64 }* byval(bfloat) %data, { i32*, i64, i64 }* byval(bfloat) %tmp.1), !dbg !473
Attribute 'byval' type does not match parameter!
call void @internal_1cpu.appendBytes({ i8*, i64, i64 }* sret(bfloat) "go_sret" %sret.actual.8, i8* nest undef, { i8*, i64, i64 }* byval(bfloat) %data, { i32*, i64, i64 }* byval(bfloat) %tmp.1), !dbg !473
Attribute 'byval' type does not match parameter!
call void @internal_1cpu.appendBytes({ i8*, i64, i64 }* sret(bfloat) "go_sret" %sret.actual.10, i8* nest undef, { i8*, i64, i64 }* byval(bfloat) %data, { i32*, i64, i64 }* byval(bfloat) %tmp.2), !dbg !481
Attribute 'byval' type does not match parameter!
call void @internal_1cpu.appendBytes({ i8*, i64, i64 }* sret(bfloat) "go_sret" %sret.actual.10, i8* nest undef, { i8*, i64, i64 }* byval(bfloat) %data, { i32*, i64, i64 }* byval(bfloat) %tmp.2), !dbg !481
Attribute 'byval' type does not match parameter!
call void @internal_1cpu.appendBytes({ i8*, i64, i64 }* sret(bfloat) "go_sret" %sret.actual.6, i8* nest undef, { i8*, i64, i64 }* byval(bfloat) %data, { i32*, i64, i64 }* byval(bfloat) %tmp.0), !dbg !386
Attribute 'byval' type does not match parameter!
call void @internal_1cpu.appendBytes({ i8*, i64, i64 }* sret(bfloat) "go_sret" %sret.actual.6, i8* nest undef, { i8*, i64, i64 }* byval(bfloat) %data, { i32*, i64, i64 }* byval(bfloat) %tmp.0), !dbg !386
Attribute 'byval' type does not match parameter!
call void @internal_1cpu.appendBytes({ i8*, i64, i64 }* sret(bfloat) "go_sret" %sret.actual.8, i8* nest undef, { i8*, i64, i64 }* byval(bfloat) %data, { i32*, i64, i64 }* byval(bfloat) %tmp.1), !dbg !394
Attribute 'byval' type does not match parameter!
call void @internal_1cpu.appendBytes({ i8*, i64, i64 }* sret(bfloat) "go_sret" %sret.actual.8, i8* nest undef, { i8*, i64, i64 }* byval(bfloat) %data, { i32*, i64, i64 }* byval(bfloat) %tmp.1), !dbg !394
Attribute 'byval' type does not match parameter!
call void @internal_1cpu.appendBytes({ i8*, i64, i64 }* sret(bfloat) "go_sret" %sret.actual.10, i8* nest undef, { i8*, i64, i64 }* byval(bfloat) %data, { i32*, i64, i64 }* byval(bfloat) %tmp.2), !dbg !402
Attribute 'byval' type does not match parameter!
call void @internal_1cpu.appendBytes({ i8*, i64, i64 }* sret(bfloat) "go_sret" %sret.actual.10, i8* nest undef, { i8*, i64, i64 }* byval(bfloat) %data, { i32*, i64, i64 }* byval(bfloat) %tmp.2), !dbg !402
in function internal_1cpu.Name

. More details here.

@toothrot
Copy link
Contributor

/cc @thanm

@thanm
Copy link
Contributor

thanm commented Jan 25, 2021

Dup of #43870

@thanm thanm self-assigned this Jan 25, 2021
@advancedwebdeveloper
Copy link
Author

Glad that you added this to your backlog.

@advancedwebdeveloper
Copy link
Author

Ping

@toothrot
Copy link
Contributor

toothrot commented Feb 8, 2021

Closing as a dup of #43870. Feel free to discuss further there. Please let me know if I am mistaken.

@toothrot toothrot closed this as completed Feb 8, 2021
@golang golang locked and limited conversation to collaborators Feb 8, 2022
@rsc rsc unassigned thanm Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants