[Mlir-commits] [mlir] cb3d026 - [mlir][vector] Fix test for vector-warp-distribute

Christopher Bate llvmlistbot at llvm.org
Thu Sep 22 09:51:20 PDT 2022


Author: Christopher Bate
Date: 2022-09-22T10:51:10-06:00
New Revision: cb3d0260f0706c5402620bb0c46c297d469f88b2

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

LOG: [mlir][vector] Fix test for vector-warp-distribute

Test does a "CHECK-NOT" against the function name when it should check
to ensure that the `vector.warp_execute_on_lane_0` is removed.

Reviewed By: ThomasRaoux

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

Added: 
    

Modified: 
    mlir/test/Dialect/Vector/vector-warp-distribute.mlir

Removed: 
    


################################################################################
diff  --git a/mlir/test/Dialect/Vector/vector-warp-distribute.mlir b/mlir/test/Dialect/Vector/vector-warp-distribute.mlir
index 7f86dc3371371..3bd047a6d08e9 100644
--- a/mlir/test/Dialect/Vector/vector-warp-distribute.mlir
+++ b/mlir/test/Dialect/Vector/vector-warp-distribute.mlir
@@ -637,7 +637,7 @@ func.func @vector_extract_simple(%laneid: index) -> (f32) {
 func.func @lane_dependent_warp_propagate_read(
     %laneid: index, %src: memref<1x1024xf32>, %dest: memref<1x1024xf32>) {
   // CHECK-PROP-DAG: %[[C0:.*]] = arith.constant 0 : index
-  // CHECK-PROP-NOT: lane_dependent_warp_propagate_read
+  // CHECK-PROP-NOT: vector.warp_execute_on_lane_0
   // CHECK-PROP-DAG: %[[R0:.*]] = vector.transfer_read %arg1[%[[C0]], %[[ID]]], %{{.*}} : memref<1x1024xf32>, vector<1x1xf32>
   // CHECK-PROP: vector.transfer_write %[[R0]], {{.*}} : vector<1x1xf32>, memref<1x1024xf32>
   %c0 = arith.constant 0 : index


        


More information about the Mlir-commits mailing list