Follow-up from https://reviews.llvm.org/D71733. Also moved an
initialization to the base class, where it belonged in the first place.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Analysis/InlineCost.cpp | ||
---|---|---|
1940 | This is not NFC? |
llvm/lib/Analysis/InlineCost.cpp | ||
---|---|---|
1940 | It's NFC because it was executed before in InlineCostCallAnalyzer::onInitializeSROAArg(), which is/was the only current scenario. |
llvm/lib/Analysis/InlineCost.cpp | ||
---|---|---|
1940 | it is not strictly NFC (in the future) because previously it was called in the overrider function of the derived class, where it is moved to the common path. Is it intended? |
llvm/lib/Analysis/InlineCost.cpp | ||
---|---|---|
1940 | Yes, it (that initialization) should have been in the base class in the first place. The removal from the set is also in the base class, which is correct. |
This is not NFC?