[all-commits] [llvm/llvm-project] 222a8a: [flang][hlfir] Enable WHERE scheduling in LowerHLF...

jeanPerier via All-commits all-commits at lists.llvm.org
Mon May 22 03:50:25 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 222a8a1b2da16dde3df7a9d8bda54c7fb0730b72
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/ScheduleOrderedAssignments.cpp
    A flang/test/HLFIR/order_assignments/where-fusing-scheduling.f90
    A flang/test/HLFIR/order_assignments/where-scheduling.f90

  Log Message:
  [flang][hlfir] Enable WHERE scheduling in LowerHLFIROrderedAssignments

Nothing special is needed, other than adding the logging code for where
masks and to plug the pattern. This tests mainly adds test.

Note that some of the justifications to create temps shows some lacks of
side effect interface on operations (like hlfir.transpose), or on some
transparent llvm intrinsic calls (llvm.stacksave/restore).
I think we should as much as possible try to improve this on the ops
generate code rather than special casing it here.

Differential Revision: https://reviews.llvm.org/D150581

More information about the All-commits mailing list