[all-commits] [llvm/llvm-project] 420ad7: [flang][CodeGen] Transform `IsPresentOpConversion`...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Thu Nov 11 10:08:21 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 420ad7ce7d5a9a10224efd8045abc0e85af972d9
      https://github.com/llvm/llvm-project/commit/420ad7ce7d5a9a10224efd8045abc0e85af972d9
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-11-11 (Thu, 11 Nov 2021)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/test/Fir/convert-to-llvm.fir

  Log Message:
  -----------
  [flang][CodeGen] Transform `IsPresentOpConversion` and `AbsentOpConversion`

This patch extends the `FIRToLLVMLowering` pass in Flang by adding
hooks to transform `fir.is_present` and `fir.absent` to the LLVM dialect
of MLIR.

This is part of the upstreaming effort from the `fir-dev` branch in [1].

[1] https://github.com/flang-compiler/f18-llvm-project

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

Originally written by:
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