-
Notifications
You must be signed in to change notification settings - Fork 699
[NFC/cleanup] Remove more entries of variables. #1875
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
1c82468
to
a26a25c
Compare
Noob question: what's the reasoning of changing |
That's a long discussion. See #1334 for details. This PR is cleaning up what was left after migration. |
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.
I think I'm fine with updateInputs()
, but I could see an argument for instead going with updateInputPlaceholders()
, since Constants are also inputs to a Function, and the function signature takes an ArrayRef of Placeholders.
@@ -96,7 +96,7 @@ NodeFunctionMap selectBasicBlockPartitions(Function *F) { | |||
|
|||
// If node has only one input, and that input has only one output, place it | |||
// in the same partition. | |||
auto *in = singleNonVariableInput(node); | |||
auto *in = singleNonStorageInput(node); |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
I like |
a26a25c
to
956cd96
Compare
956cd96
to
52aef2c
Compare
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.
Thanks, LGTM!
Description:
Removing references to variables when appropriate.
Testing:
unit tests
Documentation:
N/A
Related to #1334