diff --git a/compiler/src/iree/compiler/Codegen/Dialect/VectorExt/IR/VectorExtAttrs.cpp b/compiler/src/iree/compiler/Codegen/Dialect/VectorExt/IR/VectorExtAttrs.cpp index 8335cd65ac5c..dfd465177026 100644 --- a/compiler/src/iree/compiler/Codegen/Dialect/VectorExt/IR/VectorExtAttrs.cpp +++ b/compiler/src/iree/compiler/Codegen/Dialect/VectorExt/IR/VectorExtAttrs.cpp @@ -218,7 +218,7 @@ uint64_t LayoutAttr::getShuffleOffset(int64_t reductionDim) { getShape(LayoutDimension::LANEY).value_or(0); break; default: - assert("Invalid dimension! Expected lane dimension."); + assert(false && "Invalid dimension! Expected lane dimension"); break; } return offset;