Details
Diff Detail
- Build Status
Buildable 2278 Build 2278: 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 | ||
|---|---|---|
| 11–16 | 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 | ||
|---|---|---|
| 11–16 | You mean, store, right? | |
| test/Transforms/LICM/opt-remarks.ll | ||
|---|---|---|
| 11–16 | yeah, fat fingering =) | |
LGTM
| lib/Transforms/Scalar/LICM.cpp | ||
|---|---|---|
| 220–226 | 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