Handling access groups is luckily rather trivial: Any access groups from the call instruction are simply appended to any memory operations.
This is similar to one of the steps when handling alias scopes.
This patch nevertheless implements it as a separate function purely for readability purposes as it uses a different interface than alias scopes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM modulo minor comment.
mlir/test/Dialect/LLVMIR/inlining.mlir | ||
---|---|---|
588 | Can you maybe add another memory operation in the caller that is also marked with the #caller interface. That way we test the same access group is used for both operations. |
Can you maybe add another memory operation in the caller that is also marked with the #caller interface. That way we test the same access group is used for both operations.