[Mlir-commits] [mlir] b41eb96 - [mlir][spirv] Move uint asm name test to the proper place

Lei Zhang llvmlistbot at llvm.org
Mon Jan 23 11:09:00 PST 2023


Author: Lei Zhang
Date: 2023-01-23T11:08:52-08:00
New Revision: b41eb9601cf1aa6e33eedbb1c923b8ed0dcdcd42

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

LOG: [mlir][spirv] Move uint asm name test to the proper place

Added: 
    

Modified: 
    mlir/test/Dialect/SPIRV/IR/asm-op-interface.mlir

Removed: 
    mlir/test/Conversion/PDLToPDLInterp/pdl-to-pdl-interp-uint.mlir


################################################################################
diff  --git a/mlir/test/Conversion/PDLToPDLInterp/pdl-to-pdl-interp-uint.mlir b/mlir/test/Conversion/PDLToPDLInterp/pdl-to-pdl-interp-uint.mlir
deleted file mode 100644
index fe17efcf6bb6d..0000000000000
--- a/mlir/test/Conversion/PDLToPDLInterp/pdl-to-pdl-interp-uint.mlir
+++ /dev/null
@@ -1,8 +0,0 @@
-// RUN: mlir-opt -split-input-file -convert-pdl-to-pdl-interp %s | FileCheck %s
-
-// CHECK:spirv.func @func()
-// CHECK-NEXT:%cst0_ui8 = spirv.Constant 0 : ui8
-spirv.func @func() -> () "None" { 
-  %5 = spirv.Constant 0 : ui8  
-  spirv.Return
-} 

diff  --git a/mlir/test/Dialect/SPIRV/IR/asm-op-interface.mlir b/mlir/test/Dialect/SPIRV/IR/asm-op-interface.mlir
index 8e67d466faabe..86ed6a865eaa8 100644
--- a/mlir/test/Dialect/SPIRV/IR/asm-op-interface.mlir
+++ b/mlir/test/Dialect/SPIRV/IR/asm-op-interface.mlir
@@ -13,6 +13,9 @@ func.func @const() -> () {
   // CHECK: %cst43_i64
   %3 = spirv.Constant 43 : i64
 
+  // CHECK-NEXT: %cst6_ui8
+  %9 = spirv.Constant 6 : ui8  
+
   // CHECK: %cst_f32
   %4 = spirv.Constant 0.5 : f32
   // CHECK: %cst_f64


        


More information about the Mlir-commits mailing list