This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Tidy-up Cortex-A15 DPR-SPR optimizer implementation
ClosedPublic

Authored by javed.absar on Aug 8 2017, 8:01 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

javed.absar created this revision.Aug 8 2017, 8:01 PM
fhahn accepted this revision.Aug 9 2017, 3:02 AM

LGTM, this looks like a NFC to me and range-based for loops make the code easier to read. Please check the loop I added a comment to before committing.

lib/Target/ARM/A15SDOptimizer.cpp
222 ↗(On Diff #110322)

While you are at it, could we use a range based for loop here too? Looks like the iterator is dereferenced when used.

This revision is now accepted and ready to land.Aug 9 2017, 3:02 AM
javed.absar marked an inline comment as done.Aug 13 2017, 10:29 AM
This revision was automatically updated to reflect the committed changes.