This is an archive of the discontinued LLVM Phabricator instance.

[SVE] Enhanced loop access analysis
AbandonedPublic

Authored by dewen on Nov 18 2022, 3:13 AM.

Details

Summary

A loop contains only the constant initial value array, and no memory dependency check is required.

Diff Detail

Event Timeline

dewen created this revision.Nov 18 2022, 3:13 AM
Herald added a project: Restricted Project. · View Herald Transcript
dewen requested review of this revision.Nov 18 2022, 3:13 AM
mdchen added a subscriber: mdchen.Nov 18 2022, 6:14 AM

Please simplify your testcase so it only contains the relevant loop, and doesn't contain any other irrelevant instructions.

I don't understand the relationship between "store that stores a constant value" and "loop has no dependencies"; as far as I can tell, they're unrelated. Even for your testcase, the load can depend on the store.

dewen abandoned this revision.Nov 18 2022, 11:12 PM

Please simplify your testcase so it only contains the relevant loop, and doesn't contain any other irrelevant instructions.

I don't understand the relationship between "store that stores a constant value" and "loop has no dependencies"; as far as I can tell, they're unrelated. Even for your testcase, the load can depend on the store.

Thank you. I'll simplify the testcases before submitting them.
Thank you again for your review