D38632: Add anti- and output loop carried dependences in SwingScheduler
Ning XIE via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 7 18:39:33 PDT 2017
Hi Brendon,
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
________________________________
From: Brendon Cahoon via Phabricator <reviews at reviews.llvm.org>
Sent: October 6, 2017 7:36:20 PM
To: ning4827 at outlook.com; bcahoon at codeaurora.org
Cc: llvm-commits at lists.llvm.org
Subject: [PATCH] D38632: Add anti- and output loop carried dependences in SwingScheduler
bcahoon added a comment.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171008/4f687490/attachment.html>
More information about the llvm-commits
mailing list