[PATCH] D105584: [MLIR][OpenMP] Distribute Construct Operation

Abid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 28 19:33:56 PDT 2022


abidmalikwaterloo added a comment.

  // CHECK-LABEL: omp_DistributeOp
  func.func @omp_DistributeOp(%lb : index, %ub : index, %step : index, %data_var : memref<i32>, %chunk_var : i32) -> () {
     // CHECK: omp.wsloop collapse(2)
    "omp.DistributeOp" (%lb, %ub, %step) ({
      ^bb0(%iv: index):
       omp.yield
    }) {operand_segment_sizes = dense<[1,1,1,0,0]> : vector<5xi32>, collapse_val = 2} :
      (index, index, index) -> ()
   
   return
   }

Is this a valid test case for the operation?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105584/new/

https://reviews.llvm.org/D105584



More information about the cfe-commits mailing list