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

[AMD] incorporate tl.assume into RangeAnalysis #6022

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

makslevental
Copy link
Contributor

No description provided.

@makslevental makslevental force-pushed the makslevental/extend-range-analysis branch 4 times, most recently from 96e5aa6 to e471467 Compare February 26, 2025 04:01
%c128 = arith.constant 128 : i32
%cmp = arith.cmpi sle, %K, %c128 : i32
llvm.intr.assume %cmp : i1
// expected-remark@+1 {{unsigned : [-1, -1] signed : [-1, -1]}}
Copy link
Contributor Author

@makslevental makslevental Feb 26, 2025

Choose a reason for hiding this comment

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

note this is unsigned = [sext(0x1), sext(0x1)] because we still have not caught up to llvm/llvm-project#127888 which fixed the dbg print of the ranges.

@makslevental makslevental force-pushed the makslevental/extend-range-analysis branch from e471467 to f66fe5d Compare February 26, 2025 06:00
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.

1 participant