[flang][tco] Engineering option for running only CodeGen passes.
authorSlava Zakharin <szakharin@nvidia.com>
Mon, 3 Oct 2022 23:54:12 +0000 (16:54 -0700)
committerSlava Zakharin <szakharin@nvidia.com>
Tue, 4 Oct 2022 20:28:03 +0000 (13:28 -0700)
commit42fead6834ef3a96c765ea545c2d2bac951f7e98
treeca157a7710f73a953ae13a4879c55c575160b864
parent4769976c49be468d7629d513080e6959a25adcfe
[flang][tco] Engineering option for running only CodeGen passes.

This option allows running only CodeGen passes and then translating
FIR to LLVM IR. I am using it to fetch optimized FIR after bbc,
hand-modify it and then produce LLVM IR that can be fed to clang.
flang/test/Driver/tco-code-gen-llvm.fir [new file with mode: 0644]
flang/tools/tco/tco.cpp