[Mlir-commits] [mlir] f8ec4df - [mlir][sparse_tensor] fix windows build

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jun 13 21:37:49 PDT 2022


Author: Mogball
Date: 2022-06-14T04:37:27Z
New Revision: f8ec4dfa9412852c507eb2d61a9dae0a7edad430

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

LOG: [mlir][sparse_tensor] fix windows build

Added: 
    

Modified: 
    mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp b/mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
index 1d81dafcd0eb8..78771d1a90835 100644
--- a/mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
+++ b/mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
@@ -377,6 +377,7 @@ bool Merger::isSingleCondition(unsigned t, unsigned e) const {
   case kBinary:
     return false;
   }
+  llvm_unreachable("unexpected kind");
 }
 
 #ifndef NDEBUG


        


More information about the Mlir-commits mailing list