[all-commits] [llvm/llvm-project] e3349f: [flang][CodeGen] Transform `fir.{store|load}` to `...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Tue Nov 9 12:23:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3349fa1a35130ce7434ea62ba50921411093d22
      https://github.com/llvm/llvm-project/commit/e3349fa1a35130ce7434ea62ba50921411093d22
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-11-09 (Tue, 09 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.{store|load}` to `llvm.{store|load}`

This patch extends the `FIRToLLVMLowering` pass in Flang by adding a
hook to transform `fir.store`/`fir.load` to `llvm.store`/`fir.load`,
respectively.

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/D113090

Patch originally written by:
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