This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add specific TODO for the REDUCE instrinsic
ClosedPublic

Authored by clementval on Aug 17 2022, 3:05 AM.

Details

Summary

Add a proper TODO for the REDUCE instrinsic instead of crashing.

Diff Detail

Event Timeline

clementval created this revision.Aug 17 2022, 3:05 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 17 2022, 3:05 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Aug 17 2022, 3:05 AM
vdonaldson added inline comments.Aug 17 2022, 10:18 AM
flang/lib/Lower/IntrinsicCall.cpp
3703

There are development scripts that check for categories of TODO messages in test runs. It would be best to try to match that. For this case that would be

intrinsic: reduce
PeteSteinfeld accepted this revision.Aug 17 2022, 11:23 AM

I agree with Val's comments. Please make that change to flang/lib/Lower/IntrinsicCall.cpp before pushing. Otherwise, all build, tests, and looks good.

This revision is now accepted and ready to land.Aug 17 2022, 11:23 AM

Change TODO message to match other intrinsic TODOs

vdonaldson accepted this revision.Aug 17 2022, 11:45 AM

Thanks Valentin

This revision was automatically updated to reflect the committed changes.