[all-commits] [llvm/llvm-project] f1dcf3: [flang] Lower integer comparison operation

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Feb 25 12:01:45 PST 2022


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

  Changed paths:
    M flang/lib/Lower/ConvertExpr.cpp
    A flang/test/Lower/integer-operations.f90

  Log Message:
  -----------
  [flang] Lower integer comparison operation

This patch handles the lowering of comprison
operator between integers.
The comparison is lowered to a `arith.cmpi` operation.

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

Reviewed By: PeteSteinfeld, schweitz, rovka

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

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




More information about the All-commits mailing list