This is an archive of the discontinued LLVM Phabricator instance.

[flang][fir] Remove references to code to be removed.
AbandonedPublic

Authored by schweitz on Jan 28 2021, 9:52 AM.

Details

Summary

This removes references to archaic FIR artifacts that will be removed in subsequent commits.

Diff Detail

Event Timeline

schweitz created this revision.Jan 28 2021, 9:52 AM
schweitz requested review of this revision.Jan 28 2021, 9:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 28 2021, 9:52 AM
mehdi_amini added inline comments.Jan 28 2021, 10:04 AM
flang/lib/Lower/CharacterExpr.cpp
358

I'm confused, isn't this code gonna crash now? iterWhile was referring to an op created but not you just have a null value.

schweitz added inline comments.Jan 28 2021, 10:11 AM
flang/lib/Lower/CharacterExpr.cpp
358

This is a prelude to D95399. They are mutually dependent patches.

(1) Don't want to expand the size of D95399.
(2) Want to make D95399 a buildable chunk on its own.

mehdi_amini added inline comments.Jan 28 2021, 12:58 PM
flang/lib/Lower/CharacterExpr.cpp
358

OK, but it is hard to make sense of a patch like this one which makes the code fundamentally wrong.
Also this patch does not even build right now according to the premerge testing:

/mnt/disks/ssd0/agent/llvm-project/flang/lib/Lower/ConvertType.cpp:167:12: error: no member named 'ComplexType' in namespace 'fir'; did you mean 'mlir::ComplexType'?
    return fir::ComplexType::get(context, KIND);
           ^~~~~~~~~~~~~~~~
schweitz updated this revision to Diff 320032.Jan 28 2021, 7:27 PM
schweitz abandoned this revision.Jan 29 2021, 5:40 PM