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

Suggest adding/keeping range for input parameters #6030

Open
bingyizh233 opened this issue Feb 26, 2025 · 0 comments
Open

Suggest adding/keeping range for input parameters #6030

bingyizh233 opened this issue Feb 26, 2025 · 0 comments

Comments

@bingyizh233
Copy link
Contributor

Dear developer, I find that in some workloads, the input parameters will always be >0 or >=0.

However, currently, triton does not give the hint (range) the compiler, regarding the range of input parameters .

Therefore, some unnecessary codes are generated.

I suggest to adding API for specifying the input range. Keep the range info in LLVM IR like llvm/llvm-project#83171

Based on the range, add passes to remove the unreachable code.

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

No branches or pull requests

1 participant