Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate LLVM Analysis Support #213

Open
bprail opened this issue Oct 22, 2018 · 1 comment
Open

Investigate LLVM Analysis Support #213

bprail opened this issue Oct 22, 2018 · 1 comment
Assignees
Labels

Comments

@bprail
Copy link
Owner

bprail commented Oct 22, 2018

What alias analysis support does LLVM provide? Could it support RAC further? Or could this be ruled out?

@bprail bprail self-assigned this Oct 22, 2018
@bprail
Copy link
Owner Author

bprail commented Dec 8, 2018

http://llvm.org/docs/AliasAnalysis.html

The immediate is that the analysis will not detect:

int i; // Taken from the above link
char C[2];
char A[10];
/* ... */
for (i = 0; i != 10; ++i) {
  C[0] = A[i];          /* One byte store */
  C[1] = A[9-i];        /* One byte store */
}

We want these pointers to be detected from RAC, which the AA pass would not detect. Need to investigate further, and/or add text in paper about this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant