We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 511c8a5 commit 0b20e28Copy full SHA for 0b20e28
mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
@@ -741,7 +741,7 @@ std::optional<int64_t> SPIRVType::getSizeInBytes() {
741
return std::nullopt;
742
})
743
.Case<VectorType, TensorArmType>([](auto type) -> std::optional<int64_t> {
744
- if(std::optional<int64_t> elementSize =
+ if (std::optional<int64_t> elementSize =
745
cast<ScalarType>(type.getElementType()).getSizeInBytes())
746
return *elementSize * type.getNumElements();
747
0 commit comments