HomePhabricator

[fir] Add base of the FIR to LLVM IR pass

Authored by clementval on Oct 29 2021, 2:20 PM.

Description

[fir] Add base of the FIR to LLVM IR pass

This patch adds the base of the FIR to LLVM IR Dialect conversion pass.
It currently can convert the following operations:

  • fir.global
  • fir.has_value
  • fir.address_of
  • fir.undefined

This patch is part of the upstreaming effort from fir-dev branch. It does not
cover all FIR operations in order to have small patches. Several patches will
follow to convert other operations.

Reviewed By: schweitz

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

Details

Committed
clementvalOct 29 2021, 2:21 PM
Reviewer
schweitz
Differential Revision
D112845: [fir] Add base of the FIR to LLVM IR pass
Parents
rG274a9b0f0b4e: [DSE] Support redundant stores eliminated by memset.
Branches
Unknown
Tags
Unknown