Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
mlir/lib/Dialect/StandardOps/IR/Ops.cpp | ||
---|---|---|
515 | This looks like it also disallows ops with regions inside the atomic region. While I don't see an immediate use-case for it, I also don't think we should just ban them. Maybe walk the op instead and check for side effects? |
mlir/lib/Dialect/StandardOps/IR/Ops.cpp | ||
---|---|---|
520 | It would be extra nice if we could get a note where the side-effecting operation is. But that is icing on the cake. |
mlir/lib/Dialect/StandardOps/IR/Ops.cpp | ||
---|---|---|
520 | Having the emitOpError on the operation inside the walk would probably get this achieved nicely I think? |
This looks like it also disallows ops with regions inside the atomic region. While I don't see an immediate use-case for it, I also don't think we should just ban them. Maybe walk the op instead and check for side effects?