[all-commits] [llvm/llvm-project] 5aaf38: [flang][NFC] use llvm.intr.stacksave/restore inste...

Tom Eccles via All-commits all-commits at lists.llvm.org
Mon Sep 16 04:33:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5aaf384b1614fcef5504d0b16d3e5063f72943c1
      https://github.com/llvm/llvm-project/commit/5aaf384b1614fcef5504d0b16d3e5063f72943c1
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-09-16 (Mon, 16 Sep 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/include/flang/Optimizer/Builder/LowLevelIntrinsics.h
    M flang/include/flang/Optimizer/Support/DataLayout.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/Builder/LowLevelIntrinsics.cpp
    M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
    M flang/lib/Optimizer/Transforms/StackArrays.cpp
    M flang/lib/Optimizer/Transforms/StackReclaim.cpp
    M flang/test/HLFIR/order_assignments/where-scheduling.f90
    M flang/test/Lower/HLFIR/block_bindc_pocs.f90
    M flang/test/Lower/HLFIR/elemental-array-ops.f90
    M flang/test/Lower/HLFIR/proc-pointer-comp-pass.f90
    M flang/test/Lower/HLFIR/where-nonelemental.f90
    M flang/test/Lower/array-elemental-calls-char.f90
    M flang/test/Lower/block.f90
    M flang/test/Lower/computed-goto.f90
    M flang/test/Lower/dummy-procedure-character.f90
    M flang/test/Lower/explicit-interface-results-2.f90
    M flang/test/Lower/forall/array-constructor.f90
    M flang/test/Lower/host-associated-functions.f90
    M flang/test/Lower/host-associated.f90
    M flang/test/Lower/io-write.f90
    M flang/test/Transforms/stack-arrays.fir

  Log Message:
  -----------
  [flang][NFC] use llvm.intr.stacksave/restore instead of opaque calls (#108562)

The new LLVM stack save/restore intrinsic operations are more convenient
than function calls because they do not add function declarations to the
module and therefore do not block the parallelisation of passes.
Furthermore they could be much more easily marked with memory effects
than function calls if that ever proved useful.

This builds on top of #107879.

Resolves #108016



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list