Fold shape.size_eq.
Depends On D82628
Remove CHECK-DAGs
LGTM modulo splitting into two separate ops.
This will be much cleaner with two separate ops.
I would rather use bool here. This method also isn't strictly necessary given that it does exactly the same thing as getBoolAttr.
This looks much longer than just doing:
BoolAttr::get(eq, getContext());
Address comments
Rebase
Can you simplify this to just checking something like:
// CHECK: %[[RESULT:.*]] = shape.size_eq // CHECK: return %[[RESULT]]
?
Address comment