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

Incorrect transform in loop not detected #951

Closed
nikic opened this issue Oct 30, 2023 · 0 comments
Closed

Incorrect transform in loop not detected #951

nikic opened this issue Oct 30, 2023 · 0 comments

Comments

@nikic
Copy link
Contributor

nikic commented Oct 30, 2023

I believe this transform is not correct, but it is not detected even if src-unroll/tgt-unroll are used: https://alive2.llvm.org/ce/z/7nh8kF

I am able to trigger a failure if I replace %v with a specific constant: https://alive2.llvm.org/ce/z/mxPXKl

Am I missing something here?

nikic referenced this issue in llvm/llvm-project Oct 30, 2023
)

Resolves #67916 .
This patch folds `Ext(icmp (A, xxx)) Pred shr(A, BW - 1)` into `i1 Pred
A s< 0`.
[Alive2](https://alive2.llvm.org/ce/z/k53Xwa).
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