-
Notifications
You must be signed in to change notification settings - Fork 183
[CIR] Add initial support for array cookies #1297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
We just went over a rebase against upstream, apologies for the churn but please update your branch for this PR and force-push! |
8505b1e to
cee4c2f
Compare
|
The CI is failing because of the recently deprecated interfaces, so I guess this is blocked by #1299. |
This patch adds the minimal support for array cookies needed to enable ClangIR generation for an array new expression that requires cookies but does not require an explicit initializer.
cee4c2f to
dc20255
Compare
|
CI is now failing in AArch64 codegen tests, still unrelated to this change. |
Rebase churn, will fix that soon! |
| // several respects. (1) The alloca here has an extra "i64 1" | ||
| // (2) The operator new call is missing "noalias noundef nonnull" on | ||
| // the call and "noundef" on the argument, (3) The getelementptr is | ||
| // missing "inbounds" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks for this! We already have issues tracking each of those, great to see no new ones!
bcardosolopes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This patch adds the minimal support for array cookies needed to enable ClangIR generation for an array new expression that requires cookies but does not require an explicit initializer. This only provides the cookie support for the base Itanium CXXABI. Different cookie calculations are required for AppleARM64, which will be added in a subsequent patch.
This patch adds the minimal support for array cookies needed to enable ClangIR generation for an array new expression that requires cookies but does not require an explicit initializer. This only provides the cookie support for the base Itanium CXXABI. Different cookie calculations are required for AppleARM64, which will be added in a subsequent patch.
This patch adds the minimal support for array cookies needed to enable ClangIR generation for an array new expression that requires cookies but does not require an explicit initializer. This only provides the cookie support for the base Itanium CXXABI. Different cookie calculations are required for AppleARM64, which will be added in a subsequent patch.
This patch adds the minimal support for array cookies needed to enable ClangIR generation for an array new expression that requires cookies but does not require an explicit initializer. This only provides the cookie support for the base Itanium CXXABI. Different cookie calculations are required for AppleARM64, which will be added in a subsequent patch. Ported from ClangIR incubator PR llvm/clangir#1297. This is the second PR in a series intended to address #160383. --------- Co-authored-by: Andy Kaylor <akaylor@nvidia.com>
This patch adds the minimal support for array cookies needed to enable ClangIR generation for an array new expression that requires cookies but does not require an explicit initializer. This only provides the cookie support for the base Itanium CXXABI. Different cookie calculations are required for AppleARM64, which will be added in a subsequent patch. Ported from ClangIR incubator PR llvm/clangir#1297. This is the second PR in a series intended to address llvm/llvm-project#160383. --------- Co-authored-by: Andy Kaylor <akaylor@nvidia.com>
This patch adds the minimal support for array cookies needed to enable ClangIR generation for an array new expression that requires cookies but does not require an explicit initializer. This only provides the cookie support for the base Itanium CXXABI. Different cookie calculations are required for AppleARM64, which will be added in a subsequent patch. Ported from ClangIR incubator PR llvm/clangir#1297. This is the second PR in a series intended to address llvm#160383. --------- Co-authored-by: Andy Kaylor <akaylor@nvidia.com>
This patch adds the minimal support for array cookies needed to enable ClangIR generation for an array new expression that requires cookies but does not require an explicit initializer. This only provides the cookie support for the base Itanium CXXABI. Different cookie calculations are required for AppleARM64, which will be added in a subsequent patch. Ported from ClangIR incubator PR llvm/clangir#1297. This is the second PR in a series intended to address llvm#160383. --------- Co-authored-by: Andy Kaylor <akaylor@nvidia.com>
This patch adds the minimal support for array cookies needed to enable ClangIR generation for an array new expression that requires cookies but does not require an explicit initializer.
This only provides the cookie support for the base Itanium CXXABI. Different cookie calculations are required for AppleARM64, which will be added in a subsequent patch.