[PATCH] D118436: [flang] Initial lowering for empty program
Valentin Clement via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 27 23:27:38 PST 2022
clementval created this revision.
clementval added reviewers: kiranchandramohan, jeanPerier, schweitz, PeteSteinfeld, svedanayagam, pmccormick.
Herald added subscribers: mehdi_amini, mgorny.
Herald added a reviewer: sscalpone.
Herald added a reviewer: awarzynski.
Herald added a project: Flang.
clementval requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.
This patch enable lowering from Fortran to FIR for a basic empty
program. It brings all the infrastructure needed for that. As discussed
previously, this is the first patch for lowering and follow up patches
should be smaller.
With this patch we can lower the following code:
program basic
end program
To a the FIR equivalent:
func @_QQmain() {
return
}
Follow up patch will add lowering of more complex constructs.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D118436
Files:
flang/include/flang/Lower/AbstractConverter.h
flang/include/flang/Lower/Bridge.h
flang/include/flang/Lower/CallInterface.h
flang/include/flang/Lower/PFTBuilder.h
flang/include/flang/Lower/Support/Verifier.h
flang/include/flang/Lower/SymbolMap.h
flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
flang/include/flang/Optimizer/Support/Utils.h
flang/lib/Lower/Bridge.cpp
flang/lib/Lower/CMakeLists.txt
flang/lib/Lower/CallInterface.cpp
flang/lib/Lower/CharacterExpr.cpp
flang/lib/Lower/Coarray.cpp
flang/lib/Lower/OpenACC.cpp
flang/lib/Lower/OpenMP.cpp
flang/lib/Lower/SymbolMap.cpp
flang/lib/Lower/SymbolMap.h
flang/test/CMakeLists.txt
flang/test/Lower/basic-program.f90
flang/tools/CMakeLists.txt
flang/tools/bbc/CMakeLists.txt
flang/tools/bbc/bbc.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118436.403902.patch
Type: text/x-patch
Size: 76526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220128/d08bed34/attachment.bin>
More information about the llvm-commits
mailing list