remove unused GroupOp.Buffer [PR] (#16515)

This commit is contained in:
chenyu 2026-06-05 10:38:52 -04:00 committed by GitHub
commit 588c759a3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -127,8 +127,6 @@ class GroupOp:
Irreducible = {Ops.CONST, Ops.DEFINE_VAR, Ops.SPECIAL, Ops.RANGE}
Movement = {Ops.RESHAPE, Ops.EXPAND, Ops.PERMUTE, Ops.PAD, Ops.SHRINK, Ops.FLIP}
Buffer = {Ops.LOAD, Ops.STORE, Ops.CONST, Ops.DEFINE_VAR}
# BinaryOps that can be flipped
Commutative = {Ops.ADD, Ops.MUL, Ops.MAX, Ops.CMPNE, Ops.CMPEQ, Ops.XOR, Ops.AND, Ops.OR}