[Mlir-commits] [mlir] 933551e - [mlir][NFC] Fix warning in	VectorTransforms.cpp
    llvmlistbot at llvm.org 
    llvmlistbot at llvm.org
       
    Thu May  6 08:13:41 PDT 2021
    
    
  
Author: thomasraoux
Date: 2021-05-06T08:11:42-07:00
New Revision: 933551eaeb08d42d7891c8fbb67cb805e24f9727
URL: https://github.com/llvm/llvm-project/commit/933551eaeb08d42d7891c8fbb67cb805e24f9727
DIFF: https://github.com/llvm/llvm-project/commit/933551eaeb08d42d7891c8fbb67cb805e24f9727.diff
LOG: [mlir][NFC] Fix warning in VectorTransforms.cpp
Added: 
    
Modified: 
    mlir/lib/Dialect/Vector/VectorTransforms.cpp
Removed: 
    
################################################################################
diff  --git a/mlir/lib/Dialect/Vector/VectorTransforms.cpp b/mlir/lib/Dialect/Vector/VectorTransforms.cpp
index f7a2c3e5b51c..3d8353d0a9ad 100644
--- a/mlir/lib/Dialect/Vector/VectorTransforms.cpp
+++ b/mlir/lib/Dialect/Vector/VectorTransforms.cpp
@@ -3749,6 +3749,8 @@ struct TwoDimMultiReductionToReduction
         return "or";
       case vector::CombiningKind::XOR:
         return "xor";
+      default:
+        llvm_unreachable("unknwon combining kind");
       }
     };
 
        
    
    
More information about the Mlir-commits
mailing list