summaryrefslogtreecommitdiffstats
path: root/mlir/lib
diff options
context:
space:
mode:
authorMLIR Team <no-reply@google.com>2018-10-19 06:31:31 -0700
committerjpienaar <jpienaar@google.com>2019-03-29 13:33:26 -0700
commit8c7478d10ce588c562992415bcaf21287b7f4686 (patch)
tree48d0373f4f072c058c48b255a08f88450ab6de8d /mlir/lib
parenta55b2c2eb661a03d44fbbfacb11b98ef809bc3fb (diff)
downloadbcm5719-llvm-8c7478d10ce588c562992415bcaf21287b7f4686.tar.gz
bcm5719-llvm-8c7478d10ce588c562992415bcaf21287b7f4686.zip
Touch an unused variable.
PiperOrigin-RevId: 217861580
Diffstat (limited to 'mlir/lib')
-rw-r--r--mlir/lib/IR/MLIRContext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/mlir/lib/IR/MLIRContext.cpp b/mlir/lib/IR/MLIRContext.cpp
index 5d1b1d50c83..99834288926 100644
--- a/mlir/lib/IR/MLIRContext.cpp
+++ b/mlir/lib/IR/MLIRContext.cpp
@@ -824,6 +824,7 @@ AttributeListStorage *AttributeListStorage::get(ArrayRef<NamedAttribute> attrs,
DenseElementsAttr *DenseElementsAttr::get(VectorOrTensorType *type,
ArrayRef<char> data) {
auto bitsRequired = (long)type->getBitWidth() * type->getNumElements();
+ (void)(bitsRequired);
assert((bitsRequired <= data.size() * 8L) &&
"Input data bit size should be larger than that type requires");
OpenPOWER on IntegriCloud