[flang] Enable character type guard in select type
authorValentin Clement <clementval@gmail.com>
Fri, 2 Dec 2022 08:52:06 +0000 (09:52 +0100)
committerValentin Clement <clementval@gmail.com>
Fri, 2 Dec 2022 08:53:48 +0000 (09:53 +0100)
commitc44292f15b0ce0fa1866c80211b341733b043efb
tree829d48e91b14de6cfd249c81832ca1890fe739c2
parenteba4efcb056ccea1804a5c578b0ddc736100ebcc
[flang] Enable character type guard in select type

SELECT TYPE lower and conversion was not handling
`character` type guard. This add support for it.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D139106
flang/include/flang/Optimizer/Builder/Character.h
flang/lib/Lower/Bridge.cpp
flang/lib/Optimizer/Builder/Character.cpp
flang/lib/Optimizer/Transforms/ControlFlowConverter.cpp
flang/test/Lower/select-type.f90