[all-commits] [llvm/llvm-project] b8535b: [flang] Set attribute at the correct position

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Aug 18 11:21:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8535b5908ecde5a10f1e0e592bc9e6ed5b02a56
      https://github.com/llvm/llvm-project/commit/b8535b5908ecde5a10f1e0e592bc9e6ed5b02a56
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
    A flang/test/Fir/target-rewrite-arg-position.fir

  Log Message:
  -----------
  [flang] Set attribute at the correct position

The TargetRewrite pass can change the number of argument of a function.
An extra llvm.nest attribute is added and was not set at the correct position
if an extra argument was inserted before.

Reviewed By: PeteSteinfeld

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




More information about the All-commits mailing list