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

GlobalISel missing divide-by-pow2 special case expansions #80671

Closed
arsenm opened this issue Feb 5, 2024 · 2 comments
Closed

GlobalISel missing divide-by-pow2 special case expansions #80671

arsenm opened this issue Feb 5, 2024 · 2 comments
Assignees

Comments

@arsenm
Copy link
Contributor

arsenm commented Feb 5, 2024

The DAG has special handling for divide by a power of 2. This is an optimization that also handles some legalization work for large cases that require expansion. Since this is missing, i128 divides do not work for AMDGPU on GlobalISel

@llvmbot
Copy link
Collaborator

llvmbot commented Feb 5, 2024

@llvm/issue-subscribers-backend-amdgpu

Author: Matt Arsenault (arsenm)

The DAG has special handling for divide by a power of 2. This is an optimization that also handles some legalization work for large cases that require expansion. Since this is missing, i128 divides do not work for AMDGPU on GlobalISel

@shiltian
Copy link
Contributor

Fixed in #83155.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants