[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:42:21 PDT 2018


dberlin added inline comments.


================
Comment at: test/Transforms/Reassociate/long-chains.ll:31
+; CHECK: 55 reassociate - Number of insts reassociated
+; CHECK:  3 reassociate - Number of multiplies factored
----------------
Is it possible to check the number of visits is within a range?

(IE 100-200, and not 1 million)?

I don't remember if lit can do this :(


Repository:
  rL LLVM

https://reviews.llvm.org/D45734





More information about the llvm-commits mailing list