[all-commits] [llvm/llvm-project] b9f3b7: [flang][driver] Add support for consuming LLVM IR/...
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Thu May 5 08:12:27 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b9f3b7f89a4cb4cf541b7116d9389c73690f78fa
https://github.com/llvm/llvm-project/commit/b9f3b7f89a4cb4cf541b7116d9389c73690f78fa
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2022-05-05 (Thu, 05 May 2022)
Changed paths:
M clang/include/clang/Driver/Types.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/Types.cpp
M flang/lib/Frontend/CMakeLists.txt
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Frontend/FrontendOptions.cpp
A flang/test/Driver/emit-asm-from-llvm-bc.ll
A flang/test/Driver/emit-asm-from-llvm.ll
A flang/test/Driver/missing-triple.ll
A flang/test/Driver/override-triple.ll
M flang/test/lit.cfg.py
Log Message:
-----------
[flang][driver] Add support for consuming LLVM IR/BC files
This change makes sure that Flang's driver recognises LLVM IR and BC as
supported file formats. To this end, `isFortran` is extended and renamed
as `isSupportedByFlang` (the latter better reflects the new
functionality).
New tests are added to verify that the target triple is correctly
overridden by the frontend driver's default value or the value specified
with `-triple`. Strictly speaking, this is not a functionality that's
new in this patch (it was added in D124664). This patch simply enables
us to write such tests and hence I'm including them here.
Differential Revision: https://reviews.llvm.org/D124667
More information about the All-commits
mailing list