[Mlir-commits] [mlir] 988d4b0 - [mlir][sparse] fix mlir-window build breakage

Aart Bik llvmlistbot at llvm.org
Fri Mar 4 14:29:14 PST 2022


Author: Aart Bik
Date: 2022-03-04T14:29:07-08:00
New Revision: 988d4b0d62e4e63122f3b8ac856585e85973508d

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

LOG: [mlir][sparse] fix mlir-window build breakage

Reviewed By: bixia

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

Added: 
    

Modified: 
    mlir/lib/ExecutionEngine/SparseTensorUtils.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/ExecutionEngine/SparseTensorUtils.cpp b/mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
index 80c84d990c86b..3f9a80947938e 100644
--- a/mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
+++ b/mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
@@ -758,7 +758,7 @@ toMLIRSparseTensor(uint64_t rank, uint64_t nse, uint64_t *shape, V *values,
   std::sort(order.begin(), order.end());
   for (uint64_t i = 0; i < rank; ++i) {
     if (i != order[i]) {
-      fprintf(stderr, "Permutation is not a permutation of 0..%lu\n", rank);
+      fprintf(stderr, "Not a permutation of 0..%" PRIu64 "\n", rank);
       exit(1);
     }
   }


        


More information about the Mlir-commits mailing list