[all-commits] [llvm/llvm-project] b881fc: [flang] Fix array substring emboxing code generation
jeanPerier via All-commits
all-commits at lists.llvm.org
Thu Jun 29 09:40:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b881fc27378092989025f744124d19c1421af327
https://github.com/llvm/llvm-project/commit/b881fc27378092989025f744124d19c1421af327
Author: Jean Perier <jperier at nvidia.com>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/test/Fir/embox-substring.fir
Log Message:
-----------
[flang] Fix array substring emboxing code generation
The code generation of the fir.embox op creating descriptors for
array substring with a non constant length base was using the
substring length to compute the first dimension result stride.
Fix it to use the input length instead.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D154086
More information about the All-commits
mailing list