- Add a helper function that returns the constant padding value (if applicable).
- Remove existing getConstantYieldValueFromBlock function, which does almost the same.
- Adapted from D103243.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | ||
---|---|---|
1143–1148 | Can you just replace that with something like this: if(padValue.getParentRegion() == getRegion().front()) return {}; |
Can you just replace that with something like this: