With the transition to opaque pointers, type information has been
transferred to function parameter attributes. This patch adds correct
parsing for some of those arguments and fixes some tests, that
previously used UnitAttr for those.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks!
mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp | ||
---|---|---|
324 ↗ | (On Diff #454518) | Nit: please expand auto unless the type is obvious from the line-level context. |
329 ↗ | (On Diff #454518) | Could we put the attr names in named constants somewhere in LLVMDialect.h? Ideally, we should also have a verifier for them in the dialect, but it may be out of scope for this patch. |
mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp | ||
1187 | Leftover debug. | |
1189 | Ditto. | |
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | ||
849–850 | Could we please have a test for user-visible error messages? |
Leftover debug.