[Mlir-commits] [mlir] d7f71a3 - [mlir] Fix RUN command introduced in 516ccce7fa (#84765) (NFC)

Ingo Müller llvmlistbot at llvm.org
Thu Mar 14 09:34:15 PDT 2024


Author: Ingo Müller
Date: 2024-03-14T16:34:09Z
New Revision: d7f71a330d42ae8ac9048a03bb4816d07038dca6

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

LOG: [mlir] Fix RUN command introduced in 516ccce7fa (#84765) (NFC)

There were two problems:
* The `%s` argument to `FileCheck` was repeated.
* A single dash for `-check-prefix` was used but we need two dashes.

Added: 
    

Modified: 
    mlir/test/mlir-opt/split-markers.mlir

Removed: 
    


################################################################################
diff  --git a/mlir/test/mlir-opt/split-markers.mlir b/mlir/test/mlir-opt/split-markers.mlir
index 8011f5202b3f79..665a37f3177051 100644
--- a/mlir/test/mlir-opt/split-markers.mlir
+++ b/mlir/test/mlir-opt/split-markers.mlir
@@ -6,7 +6,7 @@
 // Check that (1) custom input splitter and (2) custom output splitters work.
 // RUN: mlir-opt %s -split-input-file="// CHECK: ""----" \
 // RUN:   -output-split-marker="// ---- next split ----" \
-// RUN: | FileCheck -input-file %s -check-prefix=CHECK-SPLITTERS %s
+// RUN: | FileCheck --check-prefix=CHECK-SPLITTERS %s
 
 func.func @main() {return}
 


        


More information about the Mlir-commits mailing list