[flang][NFC] Retrieve binding table from fir.dispatch_table operations
authorValentin Clement <clementval@gmail.com>
Tue, 29 Nov 2022 12:21:56 +0000 (13:21 +0100)
committerValentin Clement <clementval@gmail.com>
Tue, 29 Nov 2022 12:22:16 +0000 (13:22 +0100)
commit391efeb53828c888f8fd3aa75d1ff19e1dd8f1d3
treee8f14d0e42f2f18f56c839bcf131868876c285db
parenta53f89522f46dd10f87f163d8501738182729b8d
[flang][NFC] Retrieve binding table from fir.dispatch_table operations

Change how the binding tables are retrived. Use the newly lowered
fir.dispatch_table operations instead of the fir.global type infos.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D138903
flang/lib/Optimizer/CodeGen/CodeGen.cpp
flang/test/Fir/dispatch.f90