This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Add lowering for multiply operator
ClosedPublic

Authored by clementval on May 26 2023, 6:44 AM.

Details

Summary

Add support for the * operation in OpenACC lowering. Support is added
for the types currently supported.

Depends on D151564

Diff Detail

Event Timeline

clementval created this revision.May 26 2023, 6:44 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 26 2023, 6:44 AM
clementval requested review of this revision.May 26 2023, 6:44 AM
razvanlupusoru accepted this revision.May 26 2023, 7:47 AM

This is great.

flang/lib/Lower/OpenACC.cpp
568

This is OK for now - a switch with the comment holding the table from OpenACC spec will likely need to be the final solution when you have more operations handled.

This revision is now accepted and ready to land.May 26 2023, 7:47 AM
clementval marked an inline comment as done.May 28 2023, 2:30 PM
clementval added inline comments.
flang/lib/Lower/OpenACC.cpp
568

Yes, I'm preparing patches for min/amx and this will be changed.

This revision was automatically updated to reflect the committed changes.
clementval marked an inline comment as done.