commit | 7b5b5dcbf9bdde729a14722eb67f9c3ab01647c7 | [log] [tgz] |
---|---|---|
author | David Sherwood <david.sherwood@arm.com> | Tue Jun 27 15:34:44 2023 +0000 |
committer | David Sherwood <david.sherwood@arm.com> | Thu Jul 20 08:06:42 2023 +0000 |
tree | ee521b434b40e4fa5bae3d04333a30cbf52b8172 | |
parent | 065b7c07657da907193bc94444073933227eb7d6 [diff] |
[SingleSource/Vectorizer] Add runtime checks tests for nested loops This patch adds tests for nested loops like this: for (int i = 0; i < N; i++) { for (int j = 0; j < N; j++) { a[(i * (N + 1)) + j] += b[(i * N) + j]; } } where we generate runtime checks for the inner loop that do not currently get hoisted above the outer loop. Differential Revision: https://reviews.llvm.org/D154719