This is an archive of the discontinued LLVM Phabricator instance.

[DAG] Reword comment for EnforceNodeIdInvariant and InvalidateNodeId. NFC.
ClosedPublic

Authored by madhur13490 on Aug 10 2021, 10:28 AM.

Diff Detail

Event Timeline

madhur13490 created this revision.Aug 10 2021, 10:28 AM
madhur13490 requested review of this revision.Aug 10 2021, 10:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 10 2021, 10:28 AM
niravd accepted this revision.Aug 10 2021, 10:41 AM

LGTM modulo minor typo that was missed from before.

llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
1060

While we're at it, "successor"*

This revision is now accepted and ready to land.Aug 10 2021, 10:41 AM
craig.topper added inline comments.Aug 10 2021, 10:44 AM
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
1057

I think there should be a comma after "merged".

1058

Why did "property." get bumped off the previous line?

1060

comma after -1 I think.

1063

"reversable the original Id" -> "reversable to the original Id" maybe?

rebase + address comments

madhur13490 marked 5 inline comments as done.Aug 10 2021, 11:43 PM
This revision was landed with ongoing or failed builds.Aug 10 2021, 11:44 PM
This revision was automatically updated to reflect the committed changes.