[all-commits] [llvm/llvm-project] 0b54e3: [flang] Add FIR attributes and apply them to dummy...

s-watanabe314 via All-commits all-commits at lists.llvm.org
Wed Nov 13 21:18:47 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b54e33fd5ab362dfa5eacb61d7cbdb9cc3a89ac
      https://github.com/llvm/llvm-project/commit/0b54e33fd5ab362dfa5eacb61d7cbdb9cc3a89ac
  Author: s-watanabe314 <watanabe.shu-06 at fujitsu.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
    M flang/lib/Lower/CallInterface.cpp
    M flang/test/Lower/HLFIR/select-rank.f90
    M flang/test/Lower/attributes.f90

  Log Message:
  -----------
  [flang] Add FIR attributes and apply them to dummy arguments (#115686)

To determine if a function's dummy argument is nocapture, add the
asynchronous attribute to the FIR attribute. The volatile attribute will
also be used to determine nocapture assignment, but this will remain a
TODO until other processing using volatile is implemented.

I will post another patch to apply nocapture. See also the discussion in
the following discourse post.

https://discourse.llvm.org/t/applying-the-nocapture-attribute-to-reference-passed-arguments-in-fortran-subroutines/81401



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