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

Insert apparently-missing break; in IREquality.cpp #8211

Merged
merged 5 commits into from
Apr 30, 2024
Merged

Conversation

steven-johnson
Copy link
Contributor

No description provided.

@steven-johnson steven-johnson requested a review from abadams April 29, 2024 15:37
@steven-johnson
Copy link
Contributor Author

Maybe time to enable -Wimplicit-fallthrough

Copy link
Member

@abadams abadams left a comment

Choose a reason for hiding this comment

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

yikes

@abadams
Copy link
Member

abadams commented Apr 29, 2024

Funnily enough, this could not have caused a problem other than making a redundant check, which is why no tests failed, but that's only because GE has the same layout as GT.

Looks like there's another problem in runtime/webgpu.cpp

@steven-johnson
Copy link
Contributor Author

Funnily enough, this could not have caused a problem other than making a redundant check, which is why no tests failed, but that's only because GE has the same layout as GT.

Looks like there's another problem in runtime/webgpu.cpp

I did a clean CMake build and didn't get any warning there. Or did you find this by inspection?

@abadams
Copy link
Member

abadams commented Apr 29, 2024

I added the flag to the makefile build. Did adding the flag to cmake also cover the runtime?

@steven-johnson
Copy link
Contributor Author

I added the flag to the makefile build. Did adding the flag to cmake also cover the runtime?

Nope, fixing now

@steven-johnson
Copy link
Contributor Author

Please push your makefile fixes to this branch too

@steven-johnson steven-johnson merged commit dfaf6ad into main Apr 30, 2024
19 checks passed
@steven-johnson steven-johnson deleted the srj/break branch April 30, 2024 15:08
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