[all-commits] [llvm/llvm-project] fca52e: [flang] fix LBOUND lowering with KIND and no DIM a...
jeanPerier via All-commits
all-commits at lists.llvm.org
Mon Apr 25 00:21:49 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fca52e82185a9eb49da47372ac92b7a4107b0fc9
https://github.com/llvm/llvm-project/commit/fca52e82185a9eb49da47372ac92b7a4107b0fc9
Author: Jean Perier <jperier at nvidia.com>
Date: 2022-04-25 (Mon, 25 Apr 2022)
Changed paths:
M flang/lib/Lower/IntrinsicCall.cpp
M flang/test/Lower/Intrinsics/lbound.f90
Log Message:
-----------
[flang] fix LBOUND lowering with KIND and no DIM arguments
The lowering code was mistakenly assuming that the second argument
in the signature provided by semantics is the DIM argument. This
caused calls with a KIND argument but no DIM to be lowered as if the
KIND argument was DIM.
Differential Revision: https://reviews.llvm.org/D124243
More information about the All-commits
mailing list