[all-commits] [llvm/llvm-project] e993b2: [flang][driver] Add support for `-emit-llvm`
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Thu Feb 17 04:13:21 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e993b20c049d2f933831c26139f024e022f3d7fe
https://github.com/llvm/llvm-project/commit/e993b20c049d2f933831c26139f024e022f3d7fe
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M clang/include/clang/Driver/Options.td
M flang/include/flang/Frontend/FrontendActions.h
M flang/include/flang/Frontend/FrontendOptions.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
M flang/test/Driver/driver-help.f90
A flang/test/Driver/emit-llvm.f90
M flang/unittests/Frontend/FrontendActionTest.cpp
Log Message:
-----------
[flang][driver] Add support for `-emit-llvm`
This patch adds support for the `-emit-llvm` option in the frontend
driver (i.e. `flang-new -fc1`). Similarly to Clang, `flang-new -fc1
-emit-llvm file.f` will generate a textual LLVM IR file.
Depends on D118985
Differential Revision: https://reviews.llvm.org/D119012
More information about the All-commits
mailing list