[fir] Move parser/printer/verifier of fir.string_lit and add builders
authorEric Schweitz <eschweitz@nvidia.com>
Wed, 29 Sep 2021 19:43:38 +0000 (21:43 +0200)
committerValentin Clement <clementval@gmail.com>
Wed, 29 Sep 2021 19:45:17 +0000 (21:45 +0200)
commita28896ae6ae86ca20027f45a5bd403ca2116da22
treeb1dec110bfb83445b83f42315bfbd70c85c63bc7
parent8b8da01d8827fb17412a57c90fd7056828a0ad67
[fir] Move parser/printer/verifier of fir.string_lit and add builders

Move the parser, printer and verifier to the .cpp file. Add builders
needed for lowering.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: schweitz, mehdi_amini

Differential Revision: https://reviews.llvm.org/D110686

Co-authored-by: Valentin Clement <clementval@gmail.com>
flang/include/flang/Optimizer/Dialect/FIROps.td
flang/lib/Optimizer/Dialect/FIROps.cpp