This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][Falkor] Try to avoid exhausting HW prefetcher resources when unrolling.
ClosedPublic

Authored by gberry on Jun 22 2017, 2:27 PM.

Event Timeline

gberry created this revision.Jun 22 2017, 2:27 PM
mcrosier edited edge metadata.Jun 23 2017, 2:13 PM

LGTM, with minor nits. Feel free to wait for additional feedback on the coding style, if you prefer.

lib/Target/AArch64/AArch64TargetTransformInfo.cpp
24

grumble: I wish the coding guidelines would choose a preference for either Disable/cl::init(false) or Enable/cl::init(true) for features controlled by command line options. I feel like the latter is more readable and occurs more frequently in the code base, but that might just be my opinion. Change if you agree, but don't feel obligated.

658

I suggest we refactor this into a helper function, so it's easier to delineate the Falkor specific logic.

mcrosier accepted this revision.Jun 23 2017, 2:13 PM
This revision is now accepted and ready to land.Jun 23 2017, 2:13 PM
This revision was automatically updated to reflect the committed changes.
gberry marked 2 inline comments as done.