-
Notifications
You must be signed in to change notification settings - Fork 1
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
ast parse error; sret paramter attribute #8
Comments
Yeah, I think this was introduced in LLVM 12. ref: https://github.com/llir/llvm/blob/9cc56640dd8f366c6aa61ed01496f2dc18f1b90f/llvm12.diff#L1063 + case lltok::kw_sret: {
+ Type *Ty;
+ if (parseRequiredTypeAttr(Ty, lltok::kw_sret))
+ return true;
+ B.addStructRetAttr(Ty);
+ continue;
+ } |
Yeah, the sret attr is the feature in llvm 12, so i remove the sret attr in my .ll file ,i mean the file in test1.zip occurs error seems not llvm 12 features. |
If so, please report the errors (that are not LLVM 12 features), so we can fix them :) |
Tracked by llir/llvm#169. Closing this issue to keep tracking in one place. |
Hi,
i test other .ll file by remove the sret() attr,but some of them still throw errors
test1.zip
may be these are not the features of llvm12?
The text was updated successfully, but these errors were encountered: