diff options
author | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2022-03-02 15:40:16 +0000 |
---|---|---|
committer | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2022-03-16 10:41:04 +0000 |
commit | a7c08bcf777ee0712c140052d0814f55a02dd27b (patch) | |
tree | 9fd034840e8f123c0aa06730627f2d9261117fa1 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 10766b75ceb39d35d9d278bff0aa5be0ab3a680f (diff) | |
download | llvm-a7c08bcf777ee0712c140052d0814f55a02dd27b.zip llvm-a7c08bcf777ee0712c140052d0814f55a02dd27b.tar.gz llvm-a7c08bcf777ee0712c140052d0814f55a02dd27b.tar.bz2 |
[flang][driver] Add support for `-mllvm`
This option is added in both `flang-new` (the compiler driver) and
`flang-new -fc1` (the frontend driver). The semantics are consistent
with `clang` and `clang -cc1`.
As Flang does not run any LLVM passes when invoked with `-emit-llvm`
(i.e. `flang-new -S -emit-llvm <file>`), the tests use
`-S`/`-c`/`-emit-obj` instead. These options require an LLVM backend to
be run by the driver to generate the output (this makese `-mllvm`
relevant here).
Differential Revision: https://reviews.llvm.org/D121374
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions