We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The testcase is a unit test: test/Isl/CodeGen/pointer-type-pointer-type-comparison.ll
produced Isl AST:
; CHECK: if (Q >= P + 1) { ; CHECK: for (int c0 = 0; c0 < N; c0 += 1) ; CHECK: Stmt_store(c0); ; CHECK: } else if (P >= Q + 1) ; CHECK: for (int c0 = 0; c0 < N; c0 += 1) ; CHECK: Stmt_store(c0); ; CHECK: }
In some cases the duplication is severe and it end up impacting compile-time and code size (LLVM optimization will not CSE the code).
The text was updated successfully, but these errors were encountered:
The input schedule tree is rather simple:
domain: "[N, Q, P] -> { Stmt_store[i0] : 0 <= i0 < N and (P > Q or P < Q) }" child: schedule: "[N, Q, P] -> [{ Stmt_store[i0] -> [(i0)] }]"
Sorry, something went wrong.
Fixed in r272500.
No branches or pull requests
Extended Description
The testcase is a unit test:
test/Isl/CodeGen/pointer-type-pointer-type-comparison.ll
produced Isl AST:
; CHECK: if (Q >= P + 1) {
; CHECK: for (int c0 = 0; c0 < N; c0 += 1)
; CHECK: Stmt_store(c0);
; CHECK: } else if (P >= Q + 1)
; CHECK: for (int c0 = 0; c0 < N; c0 += 1)
; CHECK: Stmt_store(c0);
; CHECK: }
In some cases the duplication is severe and it end up impacting compile-time and code size (LLVM optimization will not CSE the code).
The text was updated successfully, but these errors were encountered: