[Mlir-commits] [mlir] 06f9ffa - Fix unused variable (#66644)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Sep 18 06:35:25 PDT 2023


Author: frgossen
Date: 2023-09-18T09:35:20-04:00
New Revision: 06f9ffa050ccadc5ef3a513872592462a650dee3

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

LOG: Fix unused variable (#66644)

Added: 
    

Modified: 
    mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp b/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
index 488dcff9ddb46e4..9d659bf694a2445 100644
--- a/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
+++ b/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
@@ -256,6 +256,7 @@ BitCastBitsEnumerator::BitCastBitsEnumerator(VectorType sourceVectorType,
   LDBG("targetVectorType: " << targetVectorType);
 
   int64_t bitwidth = targetBitWidth * mostMinorTargetDim;
+  (void) mostMinorSourceDim;
   assert(bitwidth == sourceBitWidth * mostMinorSourceDim &&
          "source and target bitwidths must match");
 


        


More information about the Mlir-commits mailing list