[Mlir-commits] [mlir] 11d1be4 - [mlir][transform] Clean up test-interpreter.mlir test

Matthias Springer llvmlistbot at llvm.org
Fri May 5 04:17:24 PDT 2023


Author: Matthias Springer
Date: 2023-05-05T20:17:16+09:00
New Revision: 11d1be41e5366e00630e4dc0be97921dd55f9352

URL: https://github.com/llvm/llvm-project/commit/11d1be41e5366e00630e4dc0be97921dd55f9352
DIFF: https://github.com/llvm/llvm-project/commit/11d1be41e5366e00630e4dc0be97921dd55f9352.diff

LOG: [mlir][transform] Clean up test-interpreter.mlir test

Remove redundant CHECK lines. This test does not use FileCheck.

Differential Revision: https://reviews.llvm.org/D149928

Added: 
    

Modified: 
    mlir/test/Dialect/Transform/test-interpreter.mlir

Removed: 
    


################################################################################
diff  --git a/mlir/test/Dialect/Transform/test-interpreter.mlir b/mlir/test/Dialect/Transform/test-interpreter.mlir
index 17af525156056..b80ee22dd291b 100644
--- a/mlir/test/Dialect/Transform/test-interpreter.mlir
+++ b/mlir/test/Dialect/Transform/test-interpreter.mlir
@@ -134,7 +134,6 @@ transform.with_pdl_patterns {
   transform.sequence %arg0 : !pdl.operation failures(propagate) {
   ^bb1(%arg1: !pdl.operation):
     %f = pdl_match @const in %arg1 : (!pdl.operation) -> !pdl.operation
-    // CHECK: %{{.+}} = get_closest_isolated_parent %{{.+}}
     %m = get_closest_isolated_parent %f : (!pdl.operation) -> !pdl.operation
     test_print_remark_at_operand %m, "parent function" : !pdl.operation
   }
@@ -254,9 +253,7 @@ transform.with_pdl_patterns {
 
 func.func private @bar()
 
-// CHECK-LABEL: @erase_call
 func.func @erase_call() {
-  // CHECK-NOT: call @bar
   call @bar() : () -> ()
   return
 }


        


More information about the Mlir-commits mailing list