[flang] Introduce option to lower expression to HLFIR
authorJean Perier <jperier@nvidia.com>
Mon, 17 Oct 2022 07:57:16 +0000 (09:57 +0200)
committerJean Perier <jperier@nvidia.com>
Mon, 17 Oct 2022 08:02:56 +0000 (10:02 +0200)
commit4546397e39589f0a6a707218349d1bf65fe54645
tree4774c17e6314b1d23a82fdc3710e2aeab2b626e7
parentf461e8045e220c3848b572cb5afd0e9db8d41681
[flang] Introduce option to lower expression to HLFIR

Preliminary work on HLFIR. Introduce option that will allow testing
lowering via HLFIR until this is ready to replace the current expression
lowering.

See https://reviews.llvm.org/D134285 for more context about the plan.

Differential Revision: https://reviews.llvm.org/D135959
flang/include/flang/Lower/AbstractConverter.h
flang/include/flang/Lower/LoweringOptions.h
flang/lib/Lower/Bridge.cpp
flang/test/Lower/HLFIR/expr-addr.f90 [new file with mode: 0644]
flang/test/Lower/HLFIR/expr-box.f90 [new file with mode: 0644]
flang/test/Lower/HLFIR/expr-value.f90 [new file with mode: 0644]
flang/tools/bbc/bbc.cpp