[all-commits] [llvm/llvm-project] 5983b8: [flang][hlfir] Lower ordered elemental subroutine ...
Slava Zakharin via All-commits
all-commits at lists.llvm.org
Thu Jun 29 10:36:09 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5983b8b6d33291ec14a55706670536a92b123989
https://github.com/llvm/llvm-project/commit/5983b8b6d33291ec14a55706670536a92b123989
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/test/HLFIR/extents-of-shape-of.f90
M flang/test/Lower/HLFIR/calls-optional.f90
M flang/test/Lower/HLFIR/elemental-user-procedure-ref.f90
Log Message:
-----------
[flang][hlfir] Lower ordered elemental subroutine calls.
This patch sets `unordered` `fir.do_loop` attribute during lowering
of elemental subroutine calls to HLFIR, when it is safe to do so.
Proper handling of `hlfir.elemental` will be done in a separate patch.
Reviewed By: jeanPerier, tblah
Differential Revision: https://reviews.llvm.org/D154031
Commit: 583168ee86a72be2ed05744ae601e42ecae0d14a
https://github.com/llvm/llvm-project/commit/583168ee86a72be2ed05744ae601e42ecae0d14a
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/test/HLFIR/element-addr.fir
M flang/test/HLFIR/elemental.fir
Log Message:
-----------
[flang][hlfir] Parse unordered attribute for elemental operations.
By default, `hlfir.elemental` and `hlfir.elemental_addr` must process
the elements in order. The `unordered` attribute may be set,
if it is safe to process the elements out of order.
This patch just adds parsing support for the new attribute.
Reviewed By: jeanPerier, tblah
Differential Revision: https://reviews.llvm.org/D154032
Commit: 39e87db1926ab37b5720de8225d42e1a4ae192f8
https://github.com/llvm/llvm-project/commit/39e87db1926ab37b5720de8225d42e1a4ae192f8
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
M flang/test/HLFIR/elemental-codegen.fir
M flang/test/HLFIR/order_assignments/vector-subscripts-codegen.fir
Log Message:
-----------
[flang][hlfir] Codegen for unordered elemental operations.
Depends on D154031, D154032
Reviewed By: jeanPerier, tblah
Differential Revision: https://reviews.llvm.org/D154033
Compare: https://github.com/llvm/llvm-project/compare/234890226861...39e87db1926a
More information about the All-commits
mailing list