[PATCH] D120559: [flang] Lower integer comparison operation

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 25 05:34:42 PST 2022


clementval created this revision.
clementval added reviewers: jeanPerier, PeteSteinfeld, schweitz, svedanayagam, klausler.
Herald added a subscriber: mehdi_amini.
Herald added a project: Flang.
clementval requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120559

Files:
  flang/lib/Lower/ConvertExpr.cpp
  flang/test/Lower/integer-operations.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120559.411391.patch
Type: text/x-patch
Size: 6529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220225/88cec774/attachment.bin>


More information about the llvm-commits mailing list