This is a bug fix in legality check.
When we encounter triangular loops such as the following form:
for (int i = 0; i < m; i++) for (int j = 0; j < i; j++), or for (int i = 0; i < m; i++) for (int j = 0; j*i < n; j++),
we should not perform interchange since the number of executions of the loop body
will be different before and after interchange, resulting in incorrect results.
clang-tidy: warning: invalid case style for variable 'isPathToIndVar' [readability-identifier-naming]
not useful