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 13c2964 commit dc4e900Copy full SHA for dc4e900
compiler/src/iree/compiler/Codegen/Utils/Utils.cpp
@@ -1759,6 +1759,9 @@ std::optional<VectorizationTileSizes> inferSizesFromIR(tensor::UnPackOp op) {
1759
}
1760
1761
std::optional<VectorizationTileSizes> inferSizesFromIR(Value val) {
1762
+ if (!val.getDefiningOp())
1763
+ return std::nullopt;
1764
+
1765
std::optional<VectorizationTileSizes> result;
1766
TypeSwitch<Operation *, void>(val.getDefiningOp())
1767
.Case<linalg::LinalgOp>(
0 commit comments