My initial work towards an hlfir.char_extremum op.
@jeanPerier, I'm using these 3 commits:
as a foundation for this work.
I still need to add tests like in your flang/test/HLFIR/concat.fir, but once I do that, I'll start working on:
- translating expr --> hlfir
- char_extremum codegen
What do you think so far? An okay direction so far? Anything I should be aware of going forward?
2023-05-02
Added some preliminary support for code-gen.
Feedback appreciated!
Relevant files:
+ BufferizeHLFIR.cpp
+ Character.cpp
+ Character.h
+ char_extremum-bufferization.fir
this should not return index. this should return the minimum/maximum string. I'll fix that later