[all-commits] [llvm/llvm-project] 65379d: [flang][hlfir] Do not inline ordered elementals.
Slava Zakharin via All-commits
all-commits at lists.llvm.org
Thu Jun 29 11:16:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 65379d40cf0f9f8aa26a1cba3b29e03b7f44fcbf
https://github.com/llvm/llvm-project/commit/65379d40cf0f9f8aa26a1cba3b29e03b7f44fcbf
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/InlineElementals.cpp
M flang/test/HLFIR/inline-elemental.fir
Log Message:
-----------
[flang][hlfir] Do not inline ordered elementals.
This patch just disables inlining of ordered hlfir.elemental operations.
Proving the safeness of inlining is left for future development.
Depends on D154032
Reviewed By: jeanPerier, tblah
Differential Revision: https://reviews.llvm.org/D154034
Commit: 7b4aa95d7c5e313ffb8028f627fe0480d66ef650
https://github.com/llvm/llvm-project/commit/7b4aa95d7c5e313ffb8028f627fe0480d66ef650
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/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/ConvertArrayConstructor.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/lib/Optimizer/HLFIR/Transforms/SimplifyHLFIRIntrinsics.cpp
M flang/test/HLFIR/simplify-hlfir-intrinsics.fir
M flang/test/Lower/HLFIR/allocatables-and-pointers.f90
M flang/test/Lower/HLFIR/array-ctor-as-elemental-nested.f90
M flang/test/Lower/HLFIR/array-ctor-as-elemental.f90
M flang/test/Lower/HLFIR/array-ctor-index.f90
M flang/test/Lower/HLFIR/count.f90
M flang/test/Lower/HLFIR/elemental-array-ops.f90
M flang/test/Lower/HLFIR/elemental-intrinsics.f90
M flang/test/Lower/HLFIR/elemental-user-procedure-ref-polymorphic.f90
M flang/test/Lower/HLFIR/elemental-user-procedure-ref.f90
M flang/test/Lower/HLFIR/implicit-type-conversion.f90
M flang/test/Lower/HLFIR/matmul.f90
M flang/test/Lower/HLFIR/structure-constructor.f90
M flang/test/Lower/HLFIR/user-defined-assignment.f90
M flang/test/Lower/HLFIR/vector-subscript-as-value.f90
M flang/test/Lower/HLFIR/vector-subscript-lhs.f90
Log Message:
-----------
[flang][hlfir] Set/propagate 'unordered' attribute for elementals.
This patch adds 'unordered' attribute handling the HLFIR elementals'
builders and fixes the attribute handling in lowering and transformations.
Depends on D154031, D154032
Reviewed By: jeanPerier, tblah
Differential Revision: https://reviews.llvm.org/D154035
Compare: https://github.com/llvm/llvm-project/compare/13f16f4dea14...7b4aa95d7c5e
More information about the All-commits
mailing list