Skip to content
Snippets Groups Projects
Commit 33910970 authored by Salem Derisavi's avatar Salem Derisavi Committed by Tianqi Chen
Browse files

1) Make unroll code reusable 2) reduce non-determinisim in CanonicalSimplify (#701)

* 1) Refactored some parts of the unrolling code into their own methods so we can reuse unrolling functionality in other parts of the code. E.g., to explicitly unroll loops with count of 1 when they are programmatically created.
2) Reorder based on top operator before resorting to pointers, which causes non-determinism.

* Fixed lint errors
parent 154959b1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment