This is an archive of the discontinued LLVM Phabricator instance.

[mlir][scf] Rename ForeachThreadOp->ForallOp, PerformConcurrentlyOp->InParallelOp.
ClosedPublic

Authored by pifon2a on Feb 17 2023, 12:31 AM.

Diff Detail

Event Timeline

pifon2a created this revision.Feb 17 2023, 12:31 AM
pifon2a requested review of this revision.Feb 17 2023, 12:31 AM
Herald added a project: Restricted Project. · View Herald Transcript
pifon2a edited the summary of this revision. (Show Details)Feb 17 2023, 12:31 AM

I used

cat /tmp/files | xargs sed -i 's/foreachThreadOp/forallOp/g'
cat /tmp/files | xargs sed -i 's/foreachThreadOp/forallOp/g'
cat /tmp/files | xargs sed -i 's/ForeachThreadOp/ForallOp/g'
cat /tmp/files | xargs sed -i 's/PerformConcurrentlyOp/InParallelOp/g'
cat /tmp/files | xargs sed -i 's/foreach_thread.perform_concurrently/forall.in_parallel/g'
cat /tmp/files | xargs sed -i 's/foreach_thread/forall/g'
cat /tmp/files | xargs sed -i 's/perform_concurrently/in_parallel/g'
cat /tmp/files | xargs sed -i 's/ForeachThread/Forall/g'

to rename everything. /tmp/files contains all file names that are related to foreach_thread.

Great, thank you @pifon2a

This revision is now accepted and ready to land.Feb 17 2023, 12:46 AM
This revision was landed with ongoing or failed builds.Feb 17 2023, 1:02 AM
This revision was automatically updated to reflect the committed changes.