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

Correctly set is_int_min_poison #3427

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Conversation

vwbaker
Copy link
Collaborator

@vwbaker vwbaker commented Mar 21, 2024

As is, is_int_min_poison isn't getting set correctly; the LLVM constant being passed to the builder is being interpreted as a C++ bool, so it's always true. Set it correctly and add mlir test to ensure this.

As is, is_int_min_poison isn't getting set correctly. Set it correctly
and add mlir test to ensure this.
@vwbaker vwbaker requested a review from gflegar March 21, 2024 10:17
@vwbaker vwbaker marked this pull request as ready for review March 21, 2024 12:59
@vwbaker vwbaker requested a review from ptillet as a code owner March 21, 2024 12:59
@jlebar
Copy link
Collaborator

jlebar commented Mar 21, 2024

Ouch. Thanks for the bugfix.

@jlebar jlebar merged commit e2f97f7 into triton-lang:main Mar 21, 2024
5 checks passed
karupayun pushed a commit to openxla/triton that referenced this pull request Apr 3, 2024
As is, is_int_min_poison isn't getting set correctly; the LLVM constant
being passed to the builder is being interpreted as a C++ bool, so it's
always true. Set it correctly and add mlir test to ensure this.
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.

3 participants