-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Use ArrayRef<Scalar> for List of Scalar in codegen #53581
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
Use ArrayRef<Scalar> for List of Scalar in codegen #53581
Conversation
Summary: We will pass `Scalar` by reference in the following commit. For a list of Scalar, `ScalarList` will be used as the type, otherwise `ArrayRef<const Scalar&>` will be generated as the type by default. Test Plan: Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit ade75c3 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
Summary: We will pass `Scalar` by reference in the following commit. For a list of Scalar, `ScalarList` will be used as the type, otherwise `ArrayRef<const Scalar&>` will be generated as the type by default. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26904443](https://our.internmc.facebook.com/intern/diff/D26904443) [ghstack-poisoned]
Summary: We will pass `Scalar` by reference in the following commit. For a list of Scalar, `ScalarList` will be used as the type, otherwise `ArrayRef<const Scalar&>` will be generated as the type by default. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26904443](https://our.internmc.facebook.com/intern/diff/D26904443) [ghstack-poisoned]
|
as discussed offline, let's just use |
smessmer
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.
Summary: We will pass `Scalar` by reference in the following commit. For a list of Scalar, `ScalarList` will be used as the type, otherwise `ArrayRef<const Scalar&>` will be generated as the type by default. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26904443](https://our.internmc.facebook.com/intern/diff/D26904443) [ghstack-poisoned]
|
Squashed into #53583 as it's now just one line change. |
Stack from ghstack:
Summary:
We will pass
Scalarby reference in the following commit.For a list of Scalar,
ScalarListwill be used as the type,otherwise
ArrayRef<const Scalar&>will be generated as the typeby default.
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D26904443