[all-commits] [llvm/llvm-project] ddd11b: [flang][CodeGen] Transform `fir.call` to `llvm.call`

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Mon Nov 8 03:48:17 PST 2021


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

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

  Log Message:
  -----------
  [flang][CodeGen] Transform `fir.call` to `llvm.call`

This patch extends the `FIRToLLVMLowering` pass in Flang by adding a
hook to transform `fir.call` to `llvm.call`.

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

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

Patch originally written by:
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>
Co-authored-by: V Donaldson <vdonaldson at nvidia.com>

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




More information about the All-commits mailing list