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

[CIR][CodeGen] Use signed type for result of ptrdiff operation. #355

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

yugr
Copy link
Member

@yugr yugr commented Dec 15, 2023

Before this fix attached test case has been failing due to type mismatch (signed vs unsigned).

Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this!

clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp Outdated Show resolved Hide resolved
@lanza lanza force-pushed the main branch 2 times, most recently from 05ffb2a to 34fceae Compare December 20, 2023 07:10
@yugr yugr force-pushed the ptrdiff-fix branch 2 times, most recently from 58eb780 to a7816b1 Compare December 20, 2023 09:58
@yugr yugr changed the title [CIR][CodeGen] Use AST type for result of ptrdiff operation. [CIR][CodeGen] Use signed type for result of ptrdiff operation. Dec 20, 2023
@yugr
Copy link
Member Author

yugr commented Dec 21, 2023

Test fails seem unrelated, looks like current trunk is failing on Mac and Windows.

Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bcardosolopes
Copy link
Member

Test fails seem unrelated, looks like current trunk is failing on Mac and Windows.

Yea, I fixed that yesterday, but a rebase is needed in order "to see it". Let me try to land this before you have to rebase.

@bcardosolopes bcardosolopes merged commit 9a6fe95 into llvm:main Dec 21, 2023
4 of 6 checks passed
@bcardosolopes
Copy link
Member

It worked! If you look at the commit list in github, you can see which commits landed green (there's a green check mark).

@yugr
Copy link
Member Author

yugr commented Dec 21, 2023

It worked! If you look at the commit list in github, you can see which commits landed green (there's a green check mark).

Interesting. All our PRs started failing on Win/Mac after rebase, that's why I thought it's a trunk problem.

@bcardosolopes
Copy link
Member

It was, but you created your PR before I landed 8bd43c4

lanza pushed a commit that referenced this pull request Jan 29, 2024
Before this fix attached test case has been failing due to type mismatch
(signed vs unsigned).
lanza pushed a commit that referenced this pull request Mar 23, 2024
Before this fix attached test case has been failing due to type mismatch
(signed vs unsigned).
eZWALT pushed a commit to eZWALT/clangir that referenced this pull request Mar 24, 2024
…#355)

Before this fix attached test case has been failing due to type mismatch
(signed vs unsigned).
eZWALT pushed a commit to eZWALT/clangir that referenced this pull request Mar 24, 2024
…#355)

Before this fix attached test case has been failing due to type mismatch
(signed vs unsigned).
lanza pushed a commit that referenced this pull request Apr 29, 2024
Before this fix attached test case has been failing due to type mismatch
(signed vs unsigned).
lanza pushed a commit that referenced this pull request Apr 29, 2024
Before this fix attached test case has been failing due to type mismatch
(signed vs unsigned).
eZWALT pushed a commit to eZWALT/clangir that referenced this pull request Apr 29, 2024
…#355)

Before this fix attached test case has been failing due to type mismatch
(signed vs unsigned).
lanza pushed a commit that referenced this pull request Apr 29, 2024
Before this fix attached test case has been failing due to type mismatch
(signed vs unsigned).
bruteforceboy pushed a commit to bruteforceboy/clangir that referenced this pull request Oct 2, 2024
…#355)

Before this fix attached test case has been failing due to type mismatch
(signed vs unsigned).
Hugobros3 pushed a commit to shady-gang/clangir that referenced this pull request Oct 2, 2024
…#355)

Before this fix attached test case has been failing due to type mismatch
(signed vs unsigned).
keryell pushed a commit to keryell/clangir that referenced this pull request Oct 19, 2024
…#355)

Before this fix attached test case has been failing due to type mismatch
(signed vs unsigned).
lanza pushed a commit that referenced this pull request Nov 5, 2024
Before this fix attached test case has been failing due to type mismatch
(signed vs unsigned).
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

Successfully merging this pull request may close these issues.

2 participants