Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
How about adding remarks to promoteLoopAccessesToScalars? Or did you intend to do that later?
Comment Actions
I think this needs more tests (a suggestion inline).
test/Transforms/LICM/opt-remarks.ll | ||
---|---|---|
11–16 ↗ | (On Diff #81992) | 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 ↗ | (On Diff #81992) | You mean, store, right? |
test/Transforms/LICM/opt-remarks.ll | ||
---|---|---|
11–16 ↗ | (On Diff #81992) | yeah, fat fingering =) |
Comment Actions
LGTM
lib/Transforms/Scalar/LICM.cpp | ||
---|---|---|
220–224 ↗ | (On Diff #83101) | 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. |