Details
Diff Detail
- Build Status
Buildable 2579 Build 2579: arc lint + arc unit
Event Timeline
How about adding remarks to promoteLoopAccessesToScalars? Or did you intend to do that later?
I think this needs more tests (a suggestion inline).
| test/Transforms/LICM/opt-remarks.ll | ||
|---|---|---|
| 12–17 | This test is fine but you should add another one where you show up that the remark is emitted when a load is sunk | |
| test/Transforms/LICM/opt-remarks.ll | ||
|---|---|---|
| 12–17 | You mean, store, right? | |
| test/Transforms/LICM/opt-remarks.ll | ||
|---|---|---|
| 12–17 | yeah, fat fingering =) | |
LGTM
| lib/Transforms/Scalar/LICM.cpp | ||
|---|---|---|
| 220–224 | runOnLoop and friends now take 8 arguments. I think it's a bit too much. Not your fault but clearly a sign that LICM structure could use some love. | |
This comment needs to be updated to reflect the fact we now also take an ORE