From 3a8670b26d15780be52bcd8b3ba4b878cae49787 Mon Sep 17 00:00:00 2001 From: Renato Golin Date: Mon, 3 Mar 2025 16:57:50 +0000 Subject: [PATCH] Fix parenthesis warning --- lib/TPP/GPU/LinalgToXeGPU.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/TPP/GPU/LinalgToXeGPU.cpp b/lib/TPP/GPU/LinalgToXeGPU.cpp index cfa15b240..1ca27c50f 100644 --- a/lib/TPP/GPU/LinalgToXeGPU.cpp +++ b/lib/TPP/GPU/LinalgToXeGPU.cpp @@ -768,8 +768,8 @@ extractVecSubTiles(PatternRewriter &rewriter, Location loc, return cast(tile.getType()) == vecLoadType; }) && "All loaded vectors must have the same type."); - assert(vecLoadType.getShape().size() == 2 || - vnniConf && "Requires VNNI config for non 2D loaded tiles"); + assert((vecLoadType.getShape().size() == 2 || + vnniConf) && "Requires VNNI config for non 2D loaded tiles"); // Accumulate all dimensions as the vector might have extra VNNI // dimensions.