[PATCH] D38632: Add anti- and output loop carried dependences in SwingScheduler
Ning Xie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 9 07:14:58 PDT 2017
ning4827 added a comment.
I have a simple test case that has an anti- loop carry dependence:
void foo (int n, int *__restrict a, int *__restrict b) {
int i;
for (i = 0; i < n-1; ++i) {
a[i] = i + 1;
b[i] = a[i] + a[i-1];
}
}
I tested with output dependence as well: there will be a order dependence added.
Thanks.
Best,
Ning
In https://reviews.llvm.org/D38632#891192, @bcahoon wrote:
> Thanks for adding this functionality. I'll take a look. Do you happen to have a test case?
>
> Thanks,
> Brendon
https://reviews.llvm.org/D38632
More information about the llvm-commits
mailing list