diff options
author | Erich Keane <ekeane@nvidia.com> | 2025-05-23 07:04:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-23 07:04:46 -0700 |
commit | 23d4756c4bfce06a98c9c03b24752d32760ac22b (patch) | |
tree | 692dc377996568b09cd1aa4bd99bd666e3e17b79 /llvm/lib/Object/OffloadBundle.cpp | |
parent | 34813d9d384fc97e4c20e4dc4a8d2099392d46a6 (diff) | |
download | llvm-23d4756c4bfce06a98c9c03b24752d32760ac22b.zip llvm-23d4756c4bfce06a98c9c03b24752d32760ac22b.tar.gz llvm-23d4756c4bfce06a98c9c03b24752d32760ac22b.tar.bz2 |
[OpenACC][CIR] Add lowering for 'copy' array indexes (#140971)
The array indexes(and sections) are represented by the acc.bounds
operation, which this ensures we fill in properly. The lowerbound is
required, so we always get that.
The upperbound or extent is required. We typically do extent, since that
is the 'length' as specified by ACC, but in cases where we have implicit
length, we use the extent instead.
It isn't clear when 'stride' should be anything besides 1, though by my
reading, since we have full-types in the emitted code, we should never
have it be anything but 1.
This patch enables these for copy on compute and combined constructs,
and makes sure to test everything I could think of for
combinations/permutations.
Diffstat (limited to 'llvm/lib/Object/OffloadBundle.cpp')
0 files changed, 0 insertions, 0 deletions