This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] Remove obsolete FIRBuilder and BoxValue
ClosedPublic

Authored by clementval on Jan 27 2022, 12:55 PM.

Details

Summary

This patch removes some files made obsolete by newer version
of them available in the Optimizer directory.
flang/include/flang/Lower/FIRBuilder.h and flang/lib/Lower/FIRBuilder.cpp are
removed and replace by the newer version present in
flang/include/flang/Optimizer/Builder/FIRBuilder.h and
flang/lib/Optimizer/Builder/FIRBuilder.cpp.
flang/include/flang/Lower/Support/BoxValue.h and flang/lib/Lower/ConvertExpr.cpp are removed and replace by the newer
version present in flang/include/flang/Optimizer/Builder/BoxValue.h

This patch is a preparation to be able to upstream the lowering from
fir-dev.

Diff Detail

Event Timeline

clementval created this revision.Jan 27 2022, 12:55 PM
Herald added a project: Restricted Project. · View Herald Transcript
clementval requested review of this revision.Jan 27 2022, 12:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 27 2022, 12:55 PM
clementval edited the summary of this revision. (Show Details)Jan 27 2022, 12:56 PM

LGTM. Looks like an NFC change to me.

This revision is now accepted and ready to land.Jan 28 2022, 1:29 AM

Can changes to OpenMP.cpp, OpenACC.cpp and Coarray.cpp also be included in this change?

Can changes to OpenMP.cpp, OpenACC.cpp and Coarray.cpp also be included in this change?

Sorry, my bad, I realise that the changes there are only clang-format changes.

LGTM. Looks like an NFC change to me.

Yes it is. I'll add NFC in the commit message. Thanks for the review!

clementval retitled this revision from [flang] Remove obsolete FIRBuilder and BoxValue to [flang][NFC] Remove obsolete FIRBuilder and BoxValue.Jan 28 2022, 2:08 AM
This revision was automatically updated to reflect the committed changes.
flang/lib/Lower/Coarray.cpp