[Mlir-commits] [mlir] 02d27ea - [mlir][Linalg] NFC - Simplify transform script

Nicolas Vasilache llvmlistbot at llvm.org
Thu Sep 14 06:39:04 PDT 2023


Author: Nicolas Vasilache
Date: 2023-09-14T15:32:35+02:00
New Revision: 02d27eac0f3f470a93635fc98ae990bf2a9809ed

URL: https://github.com/llvm/llvm-project/commit/02d27eac0f3f470a93635fc98ae990bf2a9809ed
DIFF: https://github.com/llvm/llvm-project/commit/02d27eac0f3f470a93635fc98ae990bf2a9809ed.diff

LOG: [mlir][Linalg] NFC - Simplify transform script

Added: 
    

Modified: 
    mlir/test/Dialect/LLVM/transform-e2e.mlir

Removed: 
    


################################################################################
diff  --git a/mlir/test/Dialect/LLVM/transform-e2e.mlir b/mlir/test/Dialect/LLVM/transform-e2e.mlir
index 777de75b1a47acc..2cb753a3d7fb8f3 100644
--- a/mlir/test/Dialect/LLVM/transform-e2e.mlir
+++ b/mlir/test/Dialect/LLVM/transform-e2e.mlir
@@ -29,33 +29,12 @@ transform.sequence failures(propagate) {
   // lowering TD macros.
   transform.apply_patterns to %f {
     transform.apply_patterns.vector.lower_contraction lowering_strategy = "outerproduct"
-  } : !transform.any_op
-
-  transform.apply_patterns to %f {
     transform.apply_patterns.vector.transfer_permutation_patterns
-  } : !transform.any_op
-
-  transform.apply_patterns to %f {
     transform.apply_patterns.vector.lower_multi_reduction lowering_strategy = "innerparallel"
-  } : !transform.any_op
-
-  transform.apply_patterns to %f {
     transform.apply_patterns.vector.split_transfer_full_partial split_transfer_strategy = "linalg-copy"
-  } : !transform.any_op
-
-  transform.apply_patterns to %f {
     transform.apply_patterns.vector.transfer_to_scf max_transfer_rank = 1 full_unroll = true
-  } : !transform.any_op
-
-  transform.apply_patterns to %f {
     transform.apply_patterns.vector.lower_transfer max_transfer_rank = 1
-  } : !transform.any_op
-
-  transform.apply_patterns to %f {
     transform.apply_patterns.vector.lower_shape_cast
-  } : !transform.any_op
-
-  transform.apply_patterns to %f {
     transform.apply_patterns.vector.lower_transpose lowering_strategy = "shuffle_1d"
   } : !transform.any_op
 }


        


More information about the Mlir-commits mailing list