Skip to content

RFC: FIR Merge - PR2: Add Fortran IR (FIR) MLIR dialect implementation#11

Open
jeanPerier wants to merge 1 commit intojpr-flang-mono_4-basefrom
jpr-mono_4-fir-split-squash-2
Open

RFC: FIR Merge - PR2: Add Fortran IR (FIR) MLIR dialect implementation#11
jeanPerier wants to merge 1 commit intojpr-flang-mono_4-basefrom
jpr-mono_4-fir-split-squash-2

Conversation

@jeanPerier
Copy link
Owner

@jeanPerier jeanPerier commented Feb 27, 2020

Add the FIR library that defines and implements the MLIR dialect used in flang. FIR is defined and documented inside FIROps.td in this commit.

The following documents can help to understand how MLIR dialects must be defined:

This patch adds the tool tco that processes FIR input files and drives transformations passes. The tco tool is used for testing. In this patch, the tco tool is to implement tests for parsing, printing, verifying, and round-tripping FIR.

Note:
This commit it a feature-based split of the work done in the FIR experimental branch. The related work log can be found in the commits between schweitzpgi@742edde and schweitzpgi@2ff5524.

RFC: http://lists.llvm.org/pipermail/flang-dev/2020-January/000162.html

Adds FIR library that implements an MLIR dialect to which Fortran
parse-tree will be lowered to.
FIR is defined and documented inside FIROps.td added in this commit.

Also add tco tool that is meant to process FIR input files and
drives transformations on it. The tco tool is used for testing.
In this patch, it is only used to demonstrate parsing/verifying/
and dumping FIR with round-trip tests.

Note:
This commit does not reflect an actual work log, it is a feature based split of the
changes done in the FIR experimental branch. The related work log can be found in the
commits between:

schweitzpgi@742edde
and
schweitzpgi@2ff5524
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant