- Mainly unit tests are missing --
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Hi Johannes,
this looks generally good. Please make sure to add good test cases.
Best,
Tobias
include/polly/ScopInfo.h | ||
---|---|---|
77 ↗ | (On Diff #39457) | DELINEARIZATION |
lib/Analysis/ScopInfo.cpp | ||
102 ↗ | (On Diff #39457) | The option name made me first think that this is actually about taking assumptions or not, but indeed this only affects the reporting. This caused confusion. As this is anyhow can be controlled byt the -Rpass, -pass-remarks flags I wonder if we should not just drop this option. |
2357 ↗ | (On Diff #39457) | This seems to be an independent change and could be committed by itself. |
2868 ↗ | (On Diff #39457) | We might want to add this logic to ScopDetectionDiagnostic.cpp |
3836 ↗ | (On Diff #39457) | These changes seem unrelated and also seem to duplicate the logic in emitValidRemarks(). |
Thanks for the feedback.
lib/Analysis/ScopInfo.cpp | ||
---|---|---|
102 ↗ | (On Diff #39457) | I was thinking it would save time in the 99% of the runs we do not activate the Rpass option but I don't need it. |
2357 ↗ | (On Diff #39457) | Ok. |
2868 ↗ | (On Diff #39457) | Why? It has nothing to do with ScopDetection and it cannot be reused... |
3836 ↗ | (On Diff #39457) | True, I will commit it separatly and drop emitValidRemarks |
lib/Analysis/ScopInfo.cpp | ||
---|---|---|
3836 ↗ | (On Diff #39457) | Btw. -polly-report and emitValidRemarks were already doing the same thing,... |