diff options
author | Susan Tan (ス-ザン タン) <zujunt@nvidia.com> | 2025-10-14 20:53:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-14 20:53:16 -0400 |
commit | f0b701dfe4d786428a51b32b60bb7bf388140f0e (patch) | |
tree | 838f55c966101e1aa18ea4b4d4d46d9dd9396195 /llvm/unittests/Object/ELFObjectFileTest.cpp | |
parent | a848c1b7381cc01e960352902e1b405163e700d5 (diff) | |
download | llvm-f0b701dfe4d786428a51b32b60bb7bf388140f0e.zip llvm-f0b701dfe4d786428a51b32b60bb7bf388140f0e.tar.gz llvm-f0b701dfe4d786428a51b32b60bb7bf388140f0e.tar.bz2 |
[acc][flang] Checking scalar like variables when there's storage operand to fir.declare (#163439)
currently this variable
```
%7 = fir.declare %6 storage(%4[0]) {uniq_name = "_QFEpi"} : (!fir.ref<f32>, !fir.ref<!fir.array<4xi8>>) -> !fir.ref<f32>
[2:19]
```
is categorized as a scalar type when it really should be an aggregate
type, because it is part of !fir.ref<!fir.array<4xi8>>
This MR adds a classification to capture the storage operand in
fir.declare.
Diffstat (limited to 'llvm/unittests/Object/ELFObjectFileTest.cpp')
0 files changed, 0 insertions, 0 deletions