[llvm-dev] Differentiate array access at IR level (original) (raw)
Michael Meng via llvm-dev llvm-dev at lists.llvm.org
Sun Feb 16 22:03:29 PST 2020
- Previous message: [llvm-dev] ORC JIT Weekly #5
- Next message: [llvm-dev] Differentiate array access at IR level
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi LLVM community,
I am trying to differentiate access to different array elements, for example:
for (int i = 1; i < 10; i++) {
a[i] = a[i] + 10;
b[i] = a[i - 1] * 2;
}
If it is possible to tell it loads/stores 3 different array elements: a[i], b[i] and a[i - 1] at IR level?
Thanks for your time in advance!
Best, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200217/09e8d65b/attachment.html>
- Previous message: [llvm-dev] ORC JIT Weekly #5
- Next message: [llvm-dev] Differentiate array access at IR level
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]