diff options
author | Jean Perier <jperier@nvidia.com> | 2022-12-16 09:19:07 +0100 |
---|---|---|
committer | Jean Perier <jperier@nvidia.com> | 2022-12-16 09:19:49 +0100 |
commit | c2e3cb3e437b26d73f3392d34541a4c685ea9498 (patch) | |
tree | 7389b798b4c1d7c21acb8949dfa5facaf383caea /llvm/unittests/Support/UnicodeTest.cpp | |
parent | 95ec1a60986c13628c6f608fc0ed1f1fafb1b033 (diff) | |
download | llvm-c2e3cb3e437b26d73f3392d34541a4c685ea9498.zip llvm-c2e3cb3e437b26d73f3392d34541a4c685ea9498.tar.gz llvm-c2e3cb3e437b26d73f3392d34541a4c685ea9498.tar.bz2 |
[flang] hlfir.elemental codegen
Without any optimization or when it cannot be optimized before
bufferization, an hlfir.elemental lowers to an array temporary.
Its codegen consists in:
- allocating a temp given the type, shape, and length parameter arguments.
- generating a loop nest given the elemental shape
- inlining the body of the elemental inside the loops, and replacing the
yield_element by an assignment to an element of the temp.
Differential Revision: https://reviews.llvm.org/D140093
Diffstat (limited to 'llvm/unittests/Support/UnicodeTest.cpp')
0 files changed, 0 insertions, 0 deletions