With this change, a function argument attribute of the form
"llvm.align" = <int> will be translated to the corresponding align
attribute in LLVM by the ModuleConversion.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | ||
---|---|---|
729 | I don't see this verification. It should be somewhere in LLVMDialect::verifyRegionArgAttribute I suppose. The special handling for noalias is necessary here because we had users that would put llvm.noalias on a memref, and then have it propagated to all components of the memref descriptor. Not sure if these still exist... | |
734 | Please add a test for the user-visible error message |
I don't see this verification. It should be somewhere in LLVMDialect::verifyRegionArgAttribute I suppose. The special handling for noalias is necessary here because we had users that would put llvm.noalias on a memref, and then have it propagated to all components of the memref descriptor. Not sure if these still exist...