The revision adds the llvm.experimental.noalias.scope.decl intrinsic
to the LLVM dialect and updates the import and export accordingly.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM, modulo minor comments.
mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td | ||
---|---|---|
174 | If I understand this correctly, we use this function to explicitly create a list of scopes, even though there is only one element. The Lang Ref specifies this in this manner, but I would like to see a comment somewhere that explains this unexpected handling. | |
mlir/test/Target/LLVMIR/Import/metadata-alias-scopes.ll | ||
85 | Shouldn't these scopes be in the beginning, i.e., before the first usage of the !2? | |
mlir/test/Target/LLVMIR/llvmir.mlir | ||
2019–2020 | That's in general a nice test improvement, thanks. | |
2037 | Again, shouldn't this be at the beginning of the basic block? |
mlir/test/Target/LLVMIR/Import/metadata-alias-scopes.ll | ||
---|---|---|
85 | Yes I that makes sense and seems to be more inline with the examples in the language reference. |
If I understand this correctly, we use this function to explicitly create a list of scopes, even though there is only one element. The Lang Ref specifies this in this manner, but I would like to see a comment somewhere that explains this unexpected handling.