This is an archive of the discontinued LLVM Phabricator instance.

[mlir][openacc] Add canonicalization for standalone data operations for if condition
ClosedPublic

Authored by clementval on Jun 4 2021, 12:52 PM.

Details

Summary

This patch add canonicalization for the standalone data operation with constant if condition.
It is extracted from this patch D103325.

Diff Detail

Event Timeline

clementval created this revision.Jun 4 2021, 12:52 PM
clementval requested review of this revision.Jun 4 2021, 12:52 PM
ftynse added inline comments.Jun 7 2021, 12:45 AM
mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
174

This needs to be wrapped in rewriter.updateRootInPlace.

clementval updated this revision to Diff 350292.Jun 7 2021, 7:51 AM

Wrap ifCond removal in updateRootinPlace.

clementval marked an inline comment as done.Jun 7 2021, 7:57 AM
ftynse accepted this revision.Jun 7 2021, 8:08 AM
This revision is now accepted and ready to land.Jun 7 2021, 8:08 AM
This revision was landed with ongoing or failed builds.Jun 7 2021, 8:41 AM
This revision was automatically updated to reflect the committed changes.