[PATCH] D123211: [flang][driver] Add support for generating LLVM bytecode files
Andrzej Warzynski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 6 05:08:06 PDT 2022
awarzynski created this revision.
Herald added a subscriber: mgorny.
Herald added projects: Flang, All.
awarzynski requested review of this revision.
Herald added subscribers: cfe-commits, jdoerfert.
Herald added a project: clang.
Support for generating LLVM BC files is added in Flang's compiler and
frontend drivers. This requires the `BitcodeWriterPass` pass to be run
on the input LLVM IR module and is implemented as a dedicated frontend
aciton. The new functionality as seen by the user (compiler driver):
flang-new -c -emit-llvm file.90
or (frontend driver):
flang-new -fc1 -emit-llvm-bc file.f90
The new behaviour is consistent with `clang` and `clang -cc1`.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6411 bytes
Desc: not available
More information about the cfe-commits