This is a demo for D116185
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/StandardOps/Transforms/DecomposeCallGraphTypes.cpp | ||
---|---|---|
64 | I'm personally not much of a fan of needing to do this. |
mlir/lib/Dialect/StandardOps/Transforms/DecomposeCallGraphTypes.cpp | ||
---|---|---|
64 | Doesn't really seem to have any benefit and just adds annoyance |
mlir/lib/Dialect/StandardOps/Transforms/DecomposeCallGraphTypes.cpp | ||
---|---|---|
64 | I wouldn't write it myself, but what if the tool does it for you? Anyway, that's why I opened this revision, to evaluate the various checks, in this case it is this one: https://clang.llvm.org/extra/clang-tidy/checks/misc-unused-parameters.html I could also open one revision per check if you'd like: now I scripted it all :) |
mlir/lib/Dialect/StandardOps/Transforms/DecomposeCallGraphTypes.cpp | ||
---|---|---|
64 | I think if a tool automatically did it (ala clang-format) I'd be +1. The main part I'd be annoyed with is having to write it/interact with it by hand. (though I generally rely on an IDE to tell me uses of a parameter) |
mlir/lib/Dialect/StandardOps/Transforms/DecomposeCallGraphTypes.cpp | ||
---|---|---|
64 | If it isn't annoying to do, I think one revision per check(or group of related checks) would be good. Would allow much easier discussion for specific checks. |
mlir/lib/Dialect/StandardOps/Transforms/DecomposeCallGraphTypes.cpp | ||
---|---|---|
64 | Even if it was done automatically, if I suddenly need a function argument, deleting the inline /* */ comments is very annoying. Also, I can't imagine the inferReturnTypes definitions will look great with this, because most of the time only 1 or 2 of the arguments are used (operands and attributes). | |
mlir/lib/Dialect/StandardOps/Transforms/FuncConversions.cpp | ||
149 | +1 | |
mlir/lib/Dialect/Tosa/IR/TosaOps.cpp | ||
51 | Yeah I think this looks terrible. | |
mlir/test/lib/Dialect/Affine/TestLoopPermutation.cpp | ||
35 | What's this one? |
I'm personally not much of a fan of needing to do this.