aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorjeanPerier <jperier@nvidia.com>2024-05-30 11:02:09 +0200
committerGitHub <noreply@github.com>2024-05-30 11:02:09 +0200
commitfd8b2d2046508c027ccf0fffb50d665c8355997a (patch)
tree4890cfcecfd412692179df1ccfc13c671b15e2ba /clang/unittests/Interpreter/InterpreterTest.cpp
parent32b91ec395529ef7ad8b5520fe692464f7512b41 (diff)
downloadllvm-fd8b2d2046508c027ccf0fffb50d665c8355997a.zip
llvm-fd8b2d2046508c027ccf0fffb50d665c8355997a.tar.gz
llvm-fd8b2d2046508c027ccf0fffb50d665c8355997a.tar.bz2
[flang] lower RANK intrinsic (#93694)
First commit is reviewed in https://github.com/llvm/llvm-project/pull/93682. Lower RANK using fir.box_rank. This patches updates fir.box_rank to accept box reference, this avoids the need of generating an assumed-rank fir.load just for the sake of reading ALLOCATABLE/POINTER rank. The fir.load would generate a "dynamic" memcpy that is hard to optimize without further knowledge. A read effect is conditionally given to the operation.
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions