Skip to content

Conversation

@wrongtest-intellif
Copy link
Contributor

@wrongtest-intellif wrongtest-intellif commented Jan 7, 2025

The change wants to merge set of finegrained control improvement on loop partition pass.

  1. Add an annotation intrinsic T.ignore_loop_partition, which mark the wrapped predicate not to take part in the loop partition phase. Since in sometimes loop partition would enlarge the generated code size and we want to preserve some predicates intentionally.

  2. Add patch for EQ predicate partition. Try solve a <= b && b <= a instead if solve a==b directly failed.

  3. Fix TryPartition's return statement. Since the caller handle the return value by

    • If undef, try recursive solving.
    • If defined, treat as a successfully partioned result stmt.

@tqchen
Copy link
Member

tqchen commented Jan 19, 2025

@tvm-bot rerun

@tqchen tqchen merged commit d6c1489 into apache:main Jan 20, 2025
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants