remove unused assign rules [pr] (#15268)

This commit is contained in:
chenyu 2026-03-14 05:37:49 -04:00 committed by GitHub
commit 13eec8fbe8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -135,7 +135,6 @@ earliest_rewrites = mop_cleanup+PatternMatcher([
(UPat(Ops.CALL, name="c"), resolve_call),
# resolve allreduce (must be bottom up)
(UPat(Ops.ASSIGN, src=(UPat.var("output"), UPat(Ops.ALLREDUCE, src=(UPat.var("buf"), UPat()), name="red"))), create_allreduce_function),
(UPat(Ops.ALLREDUCE, src=(UPat.var("buf"), UPat()), name="red"), create_allreduce_function),
# split_reduceop