Skip to content

debug-only not working for loop interchange pass #127022

Closed as not planned
Closed as not planned
@shanksjoe

Description

@shanksjoe
$ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    loopoptimquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions