-
Notifications
You must be signed in to change notification settings - Fork 294
Fix an issue due to an ABI differences between ARM and x86 architectures #878
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
Co-authored-by: Ben Howe <141149032+bmhowe23@users.noreply.github.com>
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
| mlir::LLVM::LLVMDialect::getStructRetAttrName(), | ||
| mlir::TypeAttr::get(eleTy)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Don't need the mlir::
sret attribute for entry point function if needed
Description
The root cause is ABI differences b/w ARM and x86 as explained here.
Hence, this PR adds the
sretattribute to the first (hidden) argument if the entry point function is returning one and re-enables theauto_kernel.cpptest on ARM.Resolved: #553