[Mlir-commits] [mlir] 111c932 - Fix test: add `-allow-unregistered-dialect` to Affine/loop-permute.mlir test (missed during rebase)

Mehdi Amini llvmlistbot at llvm.org
Mon Mar 30 13:14:56 PDT 2020


Author: Mehdi Amini
Date: 2020-03-30T20:14:47Z
New Revision: 111c932855449b1810766f468b968622739903b5

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

LOG: Fix test: add `-allow-unregistered-dialect` to Affine/loop-permute.mlir test (missed during rebase)

Added: 
    

Modified: 
    mlir/test/Dialect/Affine/loop-permute.mlir

Removed: 
    


################################################################################
diff  --git a/mlir/test/Dialect/Affine/loop-permute.mlir b/mlir/test/Dialect/Affine/loop-permute.mlir
index 9fc503de22ce..98eadfaabc9e 100644
--- a/mlir/test/Dialect/Affine/loop-permute.mlir
+++ b/mlir/test/Dialect/Affine/loop-permute.mlir
@@ -1,9 +1,9 @@
-// RUN: mlir-opt %s -test-loop-permutation="permutation-map=1,2,0" | FileCheck %s --check-prefix=CHECK-120
-// RUN: mlir-opt %s -test-loop-permutation="permutation-map=1,0,2" | FileCheck %s --check-prefix=CHECK-102
-// RUN: mlir-opt %s -test-loop-permutation="permutation-map=0,1,2" | FileCheck %s --check-prefix=CHECK-012
-// RUN: mlir-opt %s -test-loop-permutation="permutation-map=0,2,1" | FileCheck %s --check-prefix=CHECK-021
-// RUN: mlir-opt %s -test-loop-permutation="permutation-map=2,0,1" | FileCheck %s --check-prefix=CHECK-201
-// RUN: mlir-opt %s -test-loop-permutation="permutation-map=2,1,0" | FileCheck %s --check-prefix=CHECK-210
+// RUN: mlir-opt -allow-unregistered-dialect %s -test-loop-permutation="permutation-map=1,2,0" | FileCheck %s --check-prefix=CHECK-120
+// RUN: mlir-opt -allow-unregistered-dialect %s -test-loop-permutation="permutation-map=1,0,2" | FileCheck %s --check-prefix=CHECK-102
+// RUN: mlir-opt -allow-unregistered-dialect %s -test-loop-permutation="permutation-map=0,1,2" | FileCheck %s --check-prefix=CHECK-012
+// RUN: mlir-opt -allow-unregistered-dialect %s -test-loop-permutation="permutation-map=0,2,1" | FileCheck %s --check-prefix=CHECK-021
+// RUN: mlir-opt -allow-unregistered-dialect %s -test-loop-permutation="permutation-map=2,0,1" | FileCheck %s --check-prefix=CHECK-201
+// RUN: mlir-opt -allow-unregistered-dialect %s -test-loop-permutation="permutation-map=2,1,0" | FileCheck %s --check-prefix=CHECK-210
 
 // CHECK-120-LABEL: func @permute
 func @permute(%U0 : index, %U1 : index, %U2 : index) {


        


More information about the Mlir-commits mailing list