[all-commits] [llvm/llvm-project] eafafb: [flang] Lower scalar negation

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Feb 17 23:09:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eafafbae92f4d68b432989ee01ff38aa9e187a5f
      https://github.com/llvm/llvm-project/commit/eafafbae92f4d68b432989ee01ff38aa9e187a5f
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/test/Lower/assignment.f90

  Log Message:
  -----------
  [flang] Lower scalar negation

Handle negation on scalar expression.

```
res = -a
```

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: PeteSteinfeld

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

Co-authored-by: Jean Perier <jperier at nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>




More information about the All-commits mailing list