[PATCH] D112445: [fir] Add fir.array_access op
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 25 20:36:31 PDT 2021
mehdi_amini added a comment.
This likely requires a longer design discussion, maybe on the mailing list. But:
- If we have an immutable copy of an array in an SSA value, I would think that we'd get a single element by extracting it.
- If we want a reference to the element in memory, then we shouldn't try to get it from such an SSA value but from the reference: basically an operation performing in-memory array-indexing / GEP-style manipulation.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112445/new/
https://reviews.llvm.org/D112445
More information about the llvm-commits
mailing list