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

[flang] Make the length size matched in comparison (NFC) #73280

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

kkwli
Copy link
Collaborator

@kkwli kkwli commented Nov 24, 2023

The template function call CheckDescriptorEqInt(length.get(), 16) is deduced to have INT_T equal to std::int32_t instead of std::int64_t, but the length descriptor points to a 64-byte storage. The comparison does not work in a big endian.

@kkwli kkwli self-assigned this Nov 24, 2023
@llvmbot llvmbot added the flang Flang issues not falling into any other category label Nov 24, 2023
@kkwli
Copy link
Collaborator Author

kkwli commented Dec 6, 2023

@klausler Thanks for reviewing it.

@kkwli kkwli merged commit 8d0fb9f into llvm:main Dec 6, 2023
4 checks passed
@kkwli kkwli deleted the command-test branch December 6, 2023 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flang Flang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants