summaryrefslogtreecommitdiffstats
path: root/tests/experiments
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-08-17 13:41:49 +0800
committerGitHub <noreply@github.com>2023-08-17 13:41:49 +0800
commita0ee2bf671d61d1e2b561db3966e57ffc802040f (patch)
treec82bbfeb75cf5fa8d630322a2a62010705579056 /tests/experiments
parent3e41d698714a3ab6235e9275d5e0687a1c5db9c9 (diff)
Add loop inversion pass (#2899)
* Generalize collectInductionValues * Support affine transformations of loop index as induction variables * Test for generalized induction value collection * Neaten inductive variable finding * Make types more specific * Add loop inversion pass * Test output changes after loop inversion * Store the type of implication success when finding inductive variables * Test that loop induction finding does not alway succeed * Support chains of additions and branches of additions in induction variable finding * Use c++17 for downstream compilers * Wiggle expected output for cross compile test after loop inversion * Add loop inversion test * Simplify IfElse instructions with a single trivial block * Invert loops with a user inserted break * Limit loop inversion to loops with a 4 instruction or less comparison block * regenerate vs projects
Diffstat (limited to 'tests/experiments')
0 files changed, 0 insertions, 0 deletions