[all-commits] [llvm/llvm-project] 4203b0: [flang] Lower procedure ref to user defined elemen...
jeanPerier via All-commits
all-commits at lists.llvm.org
Fri Dec 16 04:04:40 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4203b062fbf70c6394bd02e1645bc18c607b3826
https://github.com/llvm/llvm-project/commit/4203b062fbf70c6394bd02e1645bc18c607b3826
Author: Jean Perier <jperier at nvidia.com>
Date: 2022-12-16 (Fri, 16 Dec 2022)
Changed paths:
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
A flang/test/Lower/HLFIR/elemental-user-procedure-ref.f90
Log Message:
-----------
[flang] Lower procedure ref to user defined elemental procedures (part 1)
Lower procedure ref to user defined elemental procedure when:
- there are no arguments that may be dynamically optional
- for functions, the result has no length parameters
- the reference can be unordered
- there are not character by value arguments
This uses the recently added hlfir.elemental operation and tools.
The "core" of the argument preparation is shared between elemental
and non elemental calls (genUserCalls is code moved without any
functional changes)
Differential Revision: https://reviews.llvm.org/D140118
More information about the All-commits
mailing list