diff options
author | jeanPerier <jperier@nvidia.com> | 2025-01-30 17:03:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-30 17:03:20 +0100 |
commit | 242aa8c743fe4344844753d8faf59744235319df (patch) | |
tree | 0447f7b4016b37514205cbe413763a2a2cefa868 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 3cef99f652422405f0b071ab9045c6f6a429b446 (diff) | |
download | llvm-242aa8c743fe4344844753d8faf59744235319df.zip llvm-242aa8c743fe4344844753d8faf59744235319df.tar.gz llvm-242aa8c743fe4344844753d8faf59744235319df.tar.bz2 |
[flang][hlfir] get rid of box when translating scalars to extented value (#125059)
The code in `translateToExtendedValue(hlfir::Entity)` was not getting
rid of the fir.box for scalars because isSimplyContiguous() returned
false for them.
This created issues downstream because utilities using
fir::ExtendedValue were not implemented to work with intrinsic scalars
fir.box.
fir.box of intrinsic scalars are not very commonly used as hlfir::Entity
but they are allowed and should work where accepted.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions