This is to allow optimizations like loop invariant code motion to work
on the ParallelOp.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/LoopOps/LoopOps.cpp | ||
---|---|---|
470 | You don't need ->getOperation() | |
mlir/test/Transforms/loop-invariant-code-motion.mlir | ||
266 | Please always include CHECK-LABEL's when you aren't using -split-input-file. There is otherwise the chance of CHECK's matching with previous function's output while developing / changing / adding tests and this could be quite painful. Looks like the other tests here aren't following the right convention as well and should be fixed. |
mlir/test/Transforms/loop-invariant-code-motion.mlir | ||
---|---|---|
266 | I also split most test cases here. One test fails then, so I will have to follow up on that. |
Uday, I landed this thinking you were doing more of a drive-by review, but I'll do a follow up commit if you have any more concerns.
You don't need ->getOperation()