This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] add builder to simplify fir.shape creation
ClosedPublic

Authored by jeanPerier on Dec 14 2022, 8:47 AM.

Diff Detail

Event Timeline

jeanPerier created this revision.Dec 14 2022, 8:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2022, 8:47 AM
jeanPerier requested review of this revision.Dec 14 2022, 8:47 AM
This revision is now accepted and ready to land.Dec 14 2022, 9:07 AM
PeteSteinfeld accepted this revision.Dec 14 2022, 11:03 AM

All builds and tests correctly and looks good.

flang/lib/Lower/ConvertExpr.cpp
7275

When I run clang-format on this line, I get the following:

if (const Fortran::semantics::Symbol * symbol{GetLastSymbol(expr)}) {

Note the space between the "*" and "symbol".

jeanPerier retitled this revision from [flang][NFC] add builder to simplify fir.shape creation Depends on D140023 to [flang][NFC] add builder to simplify fir.shape creation.
jeanPerier edited the summary of this revision. (Show Details)

Revert unrelated formatting change.

jeanPerier added inline comments.Dec 14 2022, 11:22 AM
flang/lib/Lower/ConvertExpr.cpp
7275

Thanks, I reverted that change.