[fir] Add fir character builder
authorValentin Clement <clementval@gmail.com>
Fri, 3 Dec 2021 13:55:35 +0000 (14:55 +0100)
committerValentin Clement <clementval@gmail.com>
Fri, 3 Dec 2021 13:58:17 +0000 (14:58 +0100)
commitd59a0f58f49a4289a7bbef2855cc0d5845715a2b
tree44ac626ad2ddf9835850af6f537c0baf8067cdf0
parentc32421c925131da39f028d3ea39a6cc5e9e1b365
[fir] Add fir character builder

This patch adds the FIR builder to generate the numeric intrinsic
runtime call.

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

Reviewed By: rovka

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

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: mleair <leairmark@gmail.com>
flang/include/flang/Optimizer/Builder/Runtime/Character.h [new file with mode: 0644]
flang/lib/Optimizer/Builder/CMakeLists.txt
flang/lib/Optimizer/Builder/Runtime/Character.cpp [new file with mode: 0644]
flang/unittests/Optimizer/Builder/Runtime/CharacterTest.cpp [new file with mode: 0644]
flang/unittests/Optimizer/Builder/Runtime/RuntimeCallTestBase.h
flang/unittests/Optimizer/CMakeLists.txt