Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp | ||
|---|---|---|
| 100–120 | You can check but I don't think you actually need a template, function overloading should be enough. You would just have two functions with slightly different args but the same name. | |
| 117 | You should check that dim is withinin the right range and return nullptr if not. | |
| 711–719 | Ditto on op->getAttr comment. | |
| 792–800 | rather than op->getAttr you should be able to do op.kernel(), etc. | |
| mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp | ||
|---|---|---|
| 100–120 | Whoops, good point | |
This patch appears to be miscompiling. See discussion on https://github.com/llvm/torch-mlir/issues/1361
Can we revert this patch?
You should check that dim is withinin the right range and return nullptr if not.