https://github.com/ftynse commented:
My only concern is naming and explanation. I understand the need, but from the PR description or the method documentation/naming, I don't understand when a user of MLIR that is not CIR would use this. `getRequiredAlignment` sounds like the type _requires_ it, but the documentation says this alignment is _guaranteed_ by the language (side note, MLIR has no concept of the language) and it appears larger than the ABI alignment. Similarly, the "the alignment code may assume when it knows only the objet's type", assume for which purposes? https://github.com/llvm/llvm-project/pull/243165 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
