Skip to content

debug-only not working for loop interchange pass #127022

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

Closed
shanksjoe opened this issue Feb 13, 2025 · 2 comments
Closed

debug-only not working for loop interchange pass #127022

shanksjoe opened this issue Feb 13, 2025 · 2 comments
Labels
loopoptim question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

Comments

@shanksjoe
Copy link

$ cat test.c 
void test(float **indices, float init_i, int M, int K) {
  for (int j = 0; j < K; ++j) {
    for (int i = 0; i < M; ++i) {
      indices[i][j] = init_i + i;
    }
  }
}
$ clang -O2 -S test.c -emit-llvm -mllvm -enable-loopinterchange=true -mllvm -debug-only=loop-interchange

There is not oputput.

@dtcxzyw dtcxzyw added question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead! and removed new issue labels Feb 13, 2025
@dtcxzyw
Copy link
Member

dtcxzyw commented Feb 13, 2025

Can you try -floop-interchange: https://godbolt.org/z/7Th93363b

@kasuga-fj
Copy link
Contributor

#125830 would cause it. It appears that the -enable-loopinterchange is no longer referenced when clang is used.

@dtcxzyw dtcxzyw closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
loopoptim question A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Projects
None yet
Development

No branches or pull requests

5 participants