File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,6 @@ static inline bool isBroadcastOp(Operation *op) {
5151 return isa_and_nonnull<vector::BroadcastOp>(op);
5252}
5353
54- static inline bool isProducerOp (Operation *op) {
55- return isa<affine::AffineApplyOp>(op);
56- }
57-
58- static inline bool isCandidateMoveOperations (Operation *op) {
59- return isa<tensor::ExtractSliceOp, tensor::InsertSliceOp, tensor::EmptyOp>(
60- op);
61- }
62-
6354static inline bool isReadOrWriteOperation (Operation *op) {
6455 return isa<vector::TransferReadOp, vector::TransferWriteOp>(op);
6556}
@@ -100,16 +91,14 @@ bool hasDynamicShape(Operation *op) {
10091 // Check operands data type.
10192 if (llvm::any_of (op->getOperands (), [&isDynamicShapedType](Value x) {
10293 return isDynamicShapedType (x);
103- })) {
94+ }))
10495 return true ;
105- }
10696
10797 // Check results data type.
10898 if (llvm::any_of (op->getResults (), [&isDynamicShapedType](OpResult x) {
10999 return isDynamicShapedType (x);
110- })) {
100+ }))
111101 return true ;
112- }
113102
114103 return false ;
115104}
You can’t perform that action at this time.
0 commit comments