diff --git a/lib/Dialect/AIE/Transforms/AIEObjectFifoStatefulTransform.cpp b/lib/Dialect/AIE/Transforms/AIEObjectFifoStatefulTransform.cpp index af8b228cb5..89ded52cb6 100644 --- a/lib/Dialect/AIE/Transforms/AIEObjectFifoStatefulTransform.cpp +++ b/lib/Dialect/AIE/Transforms/AIEObjectFifoStatefulTransform.cpp @@ -403,8 +403,10 @@ struct AIEObjectFifoStatefulTransformPass auto elemInType = llvm::cast(fifoInType.getElementType()); int inSize = elemInType.getNumElements(); - auto fifoOutType = llvm::cast(fifoOut.getElemType()); - auto elemOutType = llvm::cast(fifoOutType.getElementType()); + auto fifoOutType = + llvm::cast(fifoOut.getElemType()); + auto elemOutType = + llvm::cast(fifoOutType.getElementType()); if (int outSize = elemOutType.getNumElements(); inSize >= outSize) { if (op.name() != fifoIn.name())