[PATCH] D45734: [reassociate] Fix excessive revisits when processing long chains of reassociatable instructions.

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 2 09:38:04 PDT 2018


dberlin added a comment.

This looks right.
There is an optimal order to visit and revisit, and if you switch them, you will definitely take an extra N iterations per instruction :)


Repository:
  rL LLVM

https://reviews.llvm.org/D45734





More information about the llvm-commits mailing list