This patch is extracted from D111337 to make is smaller.
It introduce utility functions to the FIRBuilder and add the MutableBox
files.
- genShape
- readCharLen
- getExtents
Paths
| Differential D112207
[fir] Add utility function to FIRBuilder and MutableBox ClosedPublic Authored by clementval on Oct 21 2021, 2:41 AM.
Details Summary This patch is extracted from D111337 to make is smaller.
Diff Detail
Event TimelineComment Actions LGTM. I have a few minor/trivial comments or questions.
This revision is now accepted and ready to land.Oct 21 2021, 10:33 AM clementval added inline comments. Closed by commit rGa2e7af75166d: [fir] Add utility function to FIRBuilder and MutableBox (authored by clementval). · Explain WhyOct 22 2021, 1:01 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 381185 flang/include/flang/Lower/FIRBuilder.h
flang/include/flang/Optimizer/Builder/FIRBuilder.h
flang/include/flang/Optimizer/Builder/MutableBox.h
flang/lib/Optimizer/Builder/CMakeLists.txt
flang/lib/Optimizer/Builder/FIRBuilder.cpp
flang/lib/Optimizer/Builder/MutableBox.cpp
flang/unittests/Optimizer/Builder/FIRBuilderTest.cpp
|
Nit: fill the it -> fill it? Or something else is missing.