diff options
author | Jean Perier <jperier@nvidia.com> | 2021-08-26 09:44:24 +0200 |
---|---|---|
committer | Jean Perier <jperier@nvidia.com> | 2021-08-26 09:46:14 +0200 |
commit | 9016b2a1cae244eb8f26826427eeb90eded0da20 (patch) | |
tree | d7ea1f96c20128b5c0892a7da8d6f0f236bcceff /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | fdefde4965d0c91250e657ab52f47b6dff286cc7 (diff) | |
download | llvm-9016b2a1cae244eb8f26826427eeb90eded0da20.zip llvm-9016b2a1cae244eb8f26826427eeb90eded0da20.tar.gz llvm-9016b2a1cae244eb8f26826427eeb90eded0da20.tar.bz2 |
[flang] Take result length into account in ApplyElementwise folding
ApplyElementwise on character operation was always creating a result
ArrayConstructor with the length of the left operand. This is not
correct for concatenation and SetLength operations.
Compute and thread the length to the spot creating the ArrayConstructor
so that the length is correct for those character operations.
Differential Revision: https://reviews.llvm.org/D108711
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions