commit | 2be86cac91bad32d7e70d662aebf703b0efc1b43 | [log] [tgz] |
---|---|---|
author | Danilo C. Grael <dancgr@gmail.com> | Thu Apr 15 12:46:29 2021 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 16 12:59:43 2021 -0700 |
tree | b458202c919eb874e441703ea4d9b4a4288af9e5 | |
parent | 7c9a31d48e29efc20caa2b7e82792d2a3eef3f82 [diff] |
[LoopUnrollAndJam] Avoid repeated instructions for UAJ analysis Avoid visiting repeated instructions for processHeaderPhiOperands as it can cause a scenario of endless loop. Test case is attached and can be ran with `opt -basic-aa -tbaa -loop-unroll-and-jam -allow-unroll-and-jam -unroll-and-jam-count=4`. Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D97407 GitOrigin-RevId: 55487079a9bb039103615a78500d1cdd4de474ab