[PATCH] D124667: [flang][driver] Add support for consuming LLVM IR/BC files
Andrzej Warzynski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 29 03:50:05 PDT 2022
awarzynski created this revision.
awarzynski added reviewers: rovka, kiranchandramohan, Leporacanthicus, unterumarmung, ekieri.
Herald added a subscriber: mgorny.
Herald added a reviewer: sscalpone.
Herald added projects: Flang, All.
awarzynski requested review of this revision.
Herald added subscribers: cfe-commits, jdoerfert, MaskRay.
Herald added a project: clang.
This change is mostly about making sure that Flang's driver recognises
LLVM IR and BC as supported as supported file formats. To this end,
`isFortran` is extended and renamed as `isSupportedByFlang` (the latter
better reflects the new functionality).
Some new tests are added to verify that the target triple is overridden
by the frontend driver's default or the value specified with `-triple`.
Strictly speaking, this is not a functionality that's added here.
However, this patch enables us to write such tests and hence I'm
including them here.
Depends on D124664 <https://reviews.llvm.org/D124664>
Depends on D124665 <https://reviews.llvm.org/D124665>
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7964 bytes
Desc: not available
More information about the cfe-commits