D72069 has been committed quickly to remove build block. But as discussed in the revision, directly put InPQueue into function arguments of releaseNode is a quite cleaner approach.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Unit tests: pass. 61172 tests passed, 0 failed and 729 were skipped.
clang-tidy: pass.
clang-format: pass.
Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
llvm/include/llvm/CodeGen/MachineScheduler.h | ||
---|---|---|
959 | Would it be worth to add a /*InPQueue=*/ comment next to the new argument? |
LGTM, but it would be great to document the releaseNode function, including the parameters :)
llvm/include/llvm/CodeGen/MachineScheduler.h | ||
---|---|---|
760 | It would be great if you could add a brief doc comment here, stating what the arguments mean. | |
959 | IIRC the comments are only used for arguments with default values. I don't think it is necessary here. |
It would be great if you could add a brief doc comment here, stating what the arguments mean.