[PATCH] D117781: [flang] Update tco tool pipline and add translation to LLVM IR

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 20 06:04:10 PST 2022


clementval created this revision.
clementval added reviewers: svedanayagam, kiranchandramohan, pmccormick, PeteSteinfeld, AlexisPerry.
Herald added subscribers: mehdi_amini, kristof.beyls, mgorny.
Herald added a reviewer: sscalpone.
Herald added a reviewer: awarzynski.
Herald added a project: Flang.
clementval requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1, jdoerfert.
Herald added a project: LLVM.

tco is a tool to test the FIR to LLVM IR pipeline of the Flang compiler.

This patch update tco pipelines and adds the translation to LLVM IR.

A simple test is added to make sure the tool is working with a simple
FIR program.
More tests will be upstream in follow up patch from the fir-dev branch.

This patch is part of the upstreaming effort from fir-dev branch.

Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>
Co-authored-by: Jean Perier <jperier at nvidia.com>
Co-authored-by: Andrzej Warzynski <andrzej.warzynski at arm.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117781

Files:
  flang/include/flang/Optimizer/CodeGen/CodeGen.h
  flang/include/flang/Optimizer/Support/InitFIR.h
  flang/include/flang/Tools/CLOptions.inc
  flang/lib/Optimizer/CodeGen/CodeGen.cpp
  flang/lib/Optimizer/Support/CMakeLists.txt
  flang/lib/Optimizer/Support/InitFIR.cpp
  flang/test/Fir/basic-program.fir
  flang/tools/tco/CMakeLists.txt
  flang/tools/tco/tco.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117781.401614.patch
Type: text/x-patch
Size: 17430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220120/1260c81f/attachment.bin>


More information about the llvm-commits mailing list