Page MenuHomePhabricator

[LV] Move addRuntimeCheck to LoopAccessAnalysis

Authored by anemet on Feb 5 2015, 9:52 PM.



This will allow it to be shared with the new Loop Distribution pass.

getFirstInst is currently duplicated across LoopVectorize.cpp and
LoopAccessAnalysis.cpp. This is a short-term work-around until we figure out
a better solution.

NFC. (The code moved is adjusted a bit for the name of the Loop member and
that PtrRtCheck is now a reference rather than a pointer.)

Diff Detail

Event Timeline

anemet updated this revision to Diff 19457.Feb 5 2015, 9:52 PM
anemet retitled this revision from to [LV] Move addRuntimeCheck to LoopAccessAnalysis.
anemet updated this object.
anemet edited the test plan for this revision. (Show Details)
anemet added reviewers: hfinkel, aschwaighofer, nadav.
anemet added a subscriber: Unknown Object (MLST).
anemet accepted this revision.Feb 6 2015, 10:34 AM
anemet added a reviewer: anemet.

Was OK'ed by Arnold on the list.

This revision is now accepted and ready to land.Feb 6 2015, 10:34 AM
anemet closed this revision.Feb 6 2015, 10:35 AM