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] Add validation tests for scalar casts #317

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

dkolsen-pgi
Copy link
Collaborator

Fix a couple typos in the validation failure messages for scalar casts

Fix a couple typos in the validation failure messages for scalar casts

!u32i = !cir.int<u, 32>
cir.func @cast9(%p : !u32i) {
%2 = cir.cast(integral, %p : !u32i), f32 // expected-error {{requires !IntegerType for result}}
Copy link
Member

Choose a reason for hiding this comment

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

Looks like you also found a bug here, this should print !cir.int, I wonder if we are still using mlir::IntegerType instead of cir::IntType or if the error message is just not ideal. Let's track this on another issue.

Copy link
Member

Choose a reason for hiding this comment

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

@bcardosolopes bcardosolopes merged commit f76e6c4 into llvm:main Nov 15, 2023
1 check passed
lanza pushed a commit that referenced this pull request Dec 20, 2023
Fix a couple typos in the validation failure messages for scalar casts
lanza pushed a commit that referenced this pull request Jan 29, 2024
Fix a couple typos in the validation failure messages for scalar casts
lanza pushed a commit that referenced this pull request Mar 23, 2024
Fix a couple typos in the validation failure messages for scalar casts
eZWALT pushed a commit to eZWALT/clangir that referenced this pull request Mar 24, 2024
Fix a couple typos in the validation failure messages for scalar casts
eZWALT pushed a commit to eZWALT/clangir that referenced this pull request Mar 24, 2024
Fix a couple typos in the validation failure messages for scalar casts
lanza pushed a commit that referenced this pull request Apr 29, 2024
Fix a couple typos in the validation failure messages for scalar casts
lanza pushed a commit that referenced this pull request Apr 29, 2024
Fix a couple typos in the validation failure messages for scalar casts
eZWALT pushed a commit to eZWALT/clangir that referenced this pull request Apr 29, 2024
Fix a couple typos in the validation failure messages for scalar casts
lanza pushed a commit that referenced this pull request Apr 29, 2024
Fix a couple typos in the validation failure messages for scalar casts
bruteforceboy pushed a commit to bruteforceboy/clangir that referenced this pull request Oct 2, 2024
Fix a couple typos in the validation failure messages for scalar casts
Hugobros3 pushed a commit to shady-gang/clangir that referenced this pull request Oct 2, 2024
Fix a couple typos in the validation failure messages for scalar casts
keryell pushed a commit to keryell/clangir that referenced this pull request Oct 19, 2024
Fix a couple typos in the validation failure messages for scalar casts
lanza pushed a commit that referenced this pull request Nov 5, 2024
Fix a couple typos in the validation failure messages for scalar casts
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